diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-15 21:07:59 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-15 21:07:59 -0400 |
commit | 84c3d4aaec3338201b449034beac41635866bddf (patch) | |
tree | 3412951682fb2dd4feb8a5532f8efbaf8b345933 /init/main.c | |
parent | 43d2548bb2ef7e6d753f91468a746784041e522d (diff) | |
parent | fafa3a3f16723997f039a0193997464d66dafd8f (diff) |
Merge commit 'origin/master'
Manual merge of:
arch/powerpc/Kconfig
arch/powerpc/kernel/stacktrace.c
arch/powerpc/mm/slice.c
arch/ppc/kernel/smp.c
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) |