Commit 8a19a3d4 authored by Ed Tomlinson's avatar Ed Tomlinson Committed by Linus Torvalds

[PATCH] fix UP links - current bk tree

Fix so UP does not ask for migration_init
parent bba7c645
...@@ -526,10 +526,12 @@ static void __init do_basic_setup(void) ...@@ -526,10 +526,12 @@ static void __init do_basic_setup(void)
static void do_pre_smp_initcalls(void) static void do_pre_smp_initcalls(void)
{ {
extern int migration_init(void);
extern int spawn_ksoftirqd(void); extern int spawn_ksoftirqd(void);
#ifdef CONFIG_SMP
extern int migration_init(void);
migration_init(); migration_init();
#endif
spawn_ksoftirqd(); spawn_ksoftirqd();
} }
......
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