projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
teach set_special_pids() to use struct pid
[powerpc.git]
/
init
/
main.c
diff --git
a/init/main.c
b/init/main.c
index
2a78932
..
9a5b18c
100644
(file)
--- a/
init/main.c
+++ b/
init/main.c
@@
-833,7
+833,7
@@
static int __init kernel_init(void * unused)
*/
init_pid_ns.child_reaper = current;
- __set_special_pids(
1, 1
);
+ __set_special_pids(
task_pid(current)
);
cad_pid = task_pid(current);
smp_prepare_cpus(setup_max_cpus);