aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/main.c b/init/main.c
index 3d68aaaf6160..6c7fd137c8cd 100644
--- a/init/main.c
+++ b/init/main.c
@@ -767,8 +767,6 @@ static void __init do_initcalls(void)
767static void __init do_basic_setup(void) 767static void __init do_basic_setup(void)
768{ 768{
769 rcu_init_sched(); /* needed by module_init stage. */ 769 rcu_init_sched(); /* needed by module_init stage. */
770 /* drivers will send hotplug events */
771 init_workqueues();
772 usermodehelper_init(); 770 usermodehelper_init();
773 driver_init(); 771 driver_init();
774 init_irq_proc(); 772 init_irq_proc();
@@ -852,6 +850,8 @@ static int __init kernel_init(void * unused)
852 850
853 cad_pid = task_pid(current); 851 cad_pid = task_pid(current);
854 852
853 init_workqueues();
854
855 smp_prepare_cpus(setup_max_cpus); 855 smp_prepare_cpus(setup_max_cpus);
856 856
857 do_pre_smp_initcalls(); 857 do_pre_smp_initcalls();