diff options
Diffstat (limited to 'init/main.c')
-rw-r--r-- | init/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c index d324801729b..b5e421e39ed 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -383,6 +383,13 @@ static void noinline rest_init(void) | |||
383 | numa_default_policy(); | 383 | numa_default_policy(); |
384 | unlock_kernel(); | 384 | unlock_kernel(); |
385 | preempt_enable_no_resched(); | 385 | preempt_enable_no_resched(); |
386 | |||
387 | /* | ||
388 | * The boot idle thread must execute schedule() | ||
389 | * at least one to get things moving: | ||
390 | */ | ||
391 | schedule(); | ||
392 | |||
386 | cpu_idle(); | 393 | cpu_idle(); |
387 | } | 394 | } |
388 | 395 | ||