diff options
Diffstat (limited to 'init/main.c')
-rw-r--r-- | init/main.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/init/main.c b/init/main.c index f142d4035341..4075d97e94b1 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -64,10 +64,6 @@ | |||
64 | #endif | 64 | #endif |
65 | #endif | 65 | #endif |
66 | 66 | ||
67 | #ifdef CONFIG_X86_LOCAL_APIC | ||
68 | #include <asm/smp.h> | ||
69 | #endif | ||
70 | |||
71 | /* | 67 | /* |
72 | * Versions of gcc older than that listed below may actually compile | 68 | * Versions of gcc older than that listed below may actually compile |
73 | * and link okay, but the end product can have subtle run time bugs. | 69 | * and link okay, but the end product can have subtle run time bugs. |
@@ -314,14 +310,7 @@ extern void setup_arch(char **); | |||
314 | 310 | ||
315 | #ifndef CONFIG_SMP | 311 | #ifndef CONFIG_SMP |
316 | 312 | ||
317 | #ifdef CONFIG_X86_LOCAL_APIC | ||
318 | static void __init smp_init(void) | ||
319 | { | ||
320 | APIC_init_uniprocessor(); | ||
321 | } | ||
322 | #else | ||
323 | #define smp_init() do { } while (0) | 313 | #define smp_init() do { } while (0) |
324 | #endif | ||
325 | 314 | ||
326 | static inline void setup_per_cpu_areas(void) { } | 315 | static inline void setup_per_cpu_areas(void) { } |
327 | static inline void smp_prepare_cpus(unsigned int maxcpus) { } | 316 | static inline void smp_prepare_cpus(unsigned int maxcpus) { } |