Commit 7eec50e3 authored by Linus Torvalds's avatar Linus Torvalds Committed by Linus Torvalds

Make smp_init() happen before initializing drivers

parent 734a3f22
...@@ -533,8 +533,8 @@ static int init(void * unused) ...@@ -533,8 +533,8 @@ static int init(void * unused)
lock_kernel(); lock_kernel();
/* Sets up cpus_possible() */ /* Sets up cpus_possible() */
smp_prepare_cpus(max_cpus); smp_prepare_cpus(max_cpus);
do_basic_setup();
smp_init(); smp_init();
do_basic_setup();
prepare_namespace(); prepare_namespace();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment