diff options
Diffstat (limited to 'init/main.c')
| -rw-r--r-- | init/main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/init/main.c b/init/main.c index f605a969ea61..80b04b6c5157 100644 --- a/init/main.c +++ b/init/main.c | |||
| @@ -56,6 +56,7 @@ | |||
| 56 | #include <linux/pid_namespace.h> | 56 | #include <linux/pid_namespace.h> |
| 57 | #include <linux/device.h> | 57 | #include <linux/device.h> |
| 58 | #include <linux/kthread.h> | 58 | #include <linux/kthread.h> |
| 59 | #include <linux/sched.h> | ||
| 59 | 60 | ||
| 60 | #include <asm/io.h> | 61 | #include <asm/io.h> |
| 61 | #include <asm/bugs.h> | 62 | #include <asm/bugs.h> |
| @@ -747,11 +748,8 @@ __setup("nosoftlockup", nosoftlockup_setup); | |||
| 747 | static void __init do_pre_smp_initcalls(void) | 748 | static void __init do_pre_smp_initcalls(void) |
| 748 | { | 749 | { |
| 749 | extern int spawn_ksoftirqd(void); | 750 | extern int spawn_ksoftirqd(void); |
| 750 | #ifdef CONFIG_SMP | ||
| 751 | extern int migration_init(void); | ||
| 752 | 751 | ||
| 753 | migration_init(); | 752 | migration_init(); |
| 754 | #endif | ||
| 755 | spawn_ksoftirqd(); | 753 | spawn_ksoftirqd(); |
| 756 | if (!nosoftlockup) | 754 | if (!nosoftlockup) |
| 757 | spawn_softlockup_task(); | 755 | spawn_softlockup_task(); |
