Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.transmeta.com>2002-07-26 03:13:36 -0700
committerLinus Torvalds <torvalds@penguin.transmeta.com>2002-07-26 03:13:36 -0700
commit7eec50e396520d000fc41c89f23a9415649001da (patch)
tree34448d766c149728daae567e05fa66bddabef148
parent734a3f22afd9c90ff46bc3a6ab3662e64b22bc87 (diff)
Make smp_init() happen before initializing drivers
-rw-r--r--init/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c
index ab46d162736d..a1c080027c3b 100644
--- a/init/main.c
+++ b/init/main.c
@@ -533,8 +533,8 @@ static int init(void * unused)
lock_kernel();
/* Sets up cpus_possible() */
smp_prepare_cpus(max_cpus);
- do_basic_setup();
smp_init();
+ do_basic_setup();
prepare_namespace();