diff options
-rw-r--r-- | init/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c index 11f4f145be3f..525f6fb2bd22 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -451,6 +451,7 @@ static noinline void __init_refok rest_init(void) | |||
451 | { | 451 | { |
452 | int pid; | 452 | int pid; |
453 | 453 | ||
454 | rcu_scheduler_starting(); | ||
454 | kernel_thread(kernel_init, NULL, CLONE_FS | CLONE_SIGHAND); | 455 | kernel_thread(kernel_init, NULL, CLONE_FS | CLONE_SIGHAND); |
455 | numa_default_policy(); | 456 | numa_default_policy(); |
456 | pid = kernel_thread(kthreadd, NULL, CLONE_FS | CLONE_FILES); | 457 | pid = kernel_thread(kthreadd, NULL, CLONE_FS | CLONE_FILES); |
@@ -462,7 +463,6 @@ static noinline void __init_refok rest_init(void) | |||
462 | * at least once to get things moving: | 463 | * at least once to get things moving: |
463 | */ | 464 | */ |
464 | init_idle_bootup_task(current); | 465 | init_idle_bootup_task(current); |
465 | rcu_scheduler_starting(); | ||
466 | preempt_enable_no_resched(); | 466 | preempt_enable_no_resched(); |
467 | schedule(); | 467 | schedule(); |
468 | preempt_disable(); | 468 | preempt_disable(); |