diff options
Diffstat (limited to 'init/main.c')
-rw-r--r-- | init/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c index a49b00235bda..ee123243fb53 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -721,6 +721,8 @@ static int init(void * unused) | |||
721 | */ | 721 | */ |
722 | child_reaper = current; | 722 | child_reaper = current; |
723 | 723 | ||
724 | cad_pid = task_pid(current); | ||
725 | |||
724 | smp_prepare_cpus(max_cpus); | 726 | smp_prepare_cpus(max_cpus); |
725 | 727 | ||
726 | do_pre_smp_initcalls(); | 728 | do_pre_smp_initcalls(); |