aboutsummaryrefslogtreecommitdiffstats
path: root/init/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/main.c')
-rw-r--r--init/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c
index 2a78932f6c07..9a5b18c0a63d 100644
--- a/init/main.c
+++ b/init/main.c
@@ -833,7 +833,7 @@ static int __init kernel_init(void * unused)
833 */ 833 */
834 init_pid_ns.child_reaper = current; 834 init_pid_ns.child_reaper = current;
835 835
836 __set_special_pids(1, 1); 836 __set_special_pids(task_pid(current));
837 cad_pid = task_pid(current); 837 cad_pid = task_pid(current);
838 838
839 smp_prepare_cpus(setup_max_cpus); 839 smp_prepare_cpus(setup_max_cpus);