]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] fix UP links - current bk tree
authorEd Tomlinson <tomlins@cam.org>
Thu, 1 Aug 2002 04:47:24 +0000 (21:47 -0700)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Thu, 1 Aug 2002 04:47:24 +0000 (21:47 -0700)
Fix so UP does not ask for migration_init

init/main.c

index 93efbf4fb7f6c485077c108c5719bf155dea1cb7..cd99093e0193f227bf73bd5e2359495644f4794c 100644 (file)
@@ -526,10 +526,12 @@ static void __init do_basic_setup(void)
 
 static void do_pre_smp_initcalls(void)
 {
-       extern int migration_init(void);
        extern int spawn_ksoftirqd(void);
+#ifdef CONFIG_SMP
+       extern int migration_init(void);
 
        migration_init();
+#endif
        spawn_ksoftirqd();
 }