diff options
Diffstat (limited to 'init/main.c')
-rw-r--r-- | init/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c index f7fb20021d48..edeace036fd9 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <linux/kernel_stat.h> | 31 | #include <linux/kernel_stat.h> |
32 | #include <linux/start_kernel.h> | 32 | #include <linux/start_kernel.h> |
33 | #include <linux/security.h> | 33 | #include <linux/security.h> |
34 | #include <linux/smp.h> | ||
34 | #include <linux/workqueue.h> | 35 | #include <linux/workqueue.h> |
35 | #include <linux/profile.h> | 36 | #include <linux/profile.h> |
36 | #include <linux/rcupdate.h> | 37 | #include <linux/rcupdate.h> |
@@ -758,6 +759,7 @@ static void __init do_initcalls(void) | |||
758 | */ | 759 | */ |
759 | static void __init do_basic_setup(void) | 760 | static void __init do_basic_setup(void) |
760 | { | 761 | { |
762 | rcu_init_sched(); /* needed by module_init stage. */ | ||
761 | /* drivers will send hotplug events */ | 763 | /* drivers will send hotplug events */ |
762 | init_workqueues(); | 764 | init_workqueues(); |
763 | usermodehelper_init(); | 765 | usermodehelper_init(); |
@@ -779,6 +781,7 @@ static void __init do_pre_smp_initcalls(void) | |||
779 | { | 781 | { |
780 | extern int spawn_ksoftirqd(void); | 782 | extern int spawn_ksoftirqd(void); |
781 | 783 | ||
784 | init_call_single_data(); | ||
782 | migration_init(); | 785 | migration_init(); |
783 | spawn_ksoftirqd(); | 786 | spawn_ksoftirqd(); |
784 | if (!nosoftlockup) | 787 | if (!nosoftlockup) |