projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce397d2
)
pids: Initialize leader_pid in init_task
author
Eric W. Biederman
<ebiederm@xmission.com>
Fri, 5 May 2017 18:31:23 +0000
(13:31 -0500)
committer
Eric W. Biederman
<ebiederm@xmission.com>
Sat, 21 Jul 2018 15:43:12 +0000
(10:43 -0500)
This is cheap and no cost so we might as well.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
init/init_task.c
patch
|
blob
|
history
diff --git
a/init/init_task.c
b/init/init_task.c
index
74f60ba
..
7914ffb
100644
(file)
--- a/
init/init_task.c
+++ b/
init/init_task.c
@@
-33,6
+33,7
@@
static struct signal_struct init_signals = {
},
#endif
INIT_CPU_TIMERS(init_signals)
+ .leader_pid = &init_struct_pid,
INIT_PREV_CPUTIME(init_signals)
};