diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/main.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/init/main.c b/init/main.c index 672ae75b2059..b038fa142041 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -699,13 +699,7 @@ asmlinkage void __init start_kernel(void) | |||
699 | } | 699 | } |
700 | 700 | ||
701 | static int initcall_debug; | 701 | static int initcall_debug; |
702 | 702 | core_param(initcall_debug, initcall_debug, bool, 0644); | |
703 | static int __init initcall_debug_setup(char *str) | ||
704 | { | ||
705 | initcall_debug = 1; | ||
706 | return 1; | ||
707 | } | ||
708 | __setup("initcall_debug", initcall_debug_setup); | ||
709 | 703 | ||
710 | int do_one_initcall(initcall_t fn) | 704 | int do_one_initcall(initcall_t fn) |
711 | { | 705 | { |
@@ -775,8 +769,6 @@ static void __init do_initcalls(void) | |||
775 | static void __init do_basic_setup(void) | 769 | static void __init do_basic_setup(void) |
776 | { | 770 | { |
777 | rcu_init_sched(); /* needed by module_init stage. */ | 771 | rcu_init_sched(); /* needed by module_init stage. */ |
778 | /* drivers will send hotplug events */ | ||
779 | init_workqueues(); | ||
780 | usermodehelper_init(); | 772 | usermodehelper_init(); |
781 | driver_init(); | 773 | driver_init(); |
782 | init_irq_proc(); | 774 | init_irq_proc(); |
@@ -860,6 +852,8 @@ static int __init kernel_init(void * unused) | |||
860 | 852 | ||
861 | cad_pid = task_pid(current); | 853 | cad_pid = task_pid(current); |
862 | 854 | ||
855 | init_workqueues(); | ||
856 | |||
863 | smp_prepare_cpus(setup_max_cpus); | 857 | smp_prepare_cpus(setup_max_cpus); |
864 | 858 | ||
865 | do_pre_smp_initcalls(); | 859 | do_pre_smp_initcalls(); |