diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c index 1952d37e4ecb..9c51ee7adf3d 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -369,9 +369,12 @@ static noinline void __init_refok rest_init(void) | |||
369 | init_idle_bootup_task(current); | 369 | init_idle_bootup_task(current); |
370 | preempt_enable_no_resched(); | 370 | preempt_enable_no_resched(); |
371 | schedule(); | 371 | schedule(); |
372 | preempt_disable(); | 372 | |
373 | /* At this point, we can enable user mode helper functionality */ | ||
374 | usermodehelper_enable(); | ||
373 | 375 | ||
374 | /* Call into cpu_idle with preempt disabled */ | 376 | /* Call into cpu_idle with preempt disabled */ |
377 | preempt_disable(); | ||
375 | cpu_idle(); | 378 | cpu_idle(); |
376 | } | 379 | } |
377 | 380 | ||