diff options
author | Anton Altaparmakov <aia21@cantab.net> | 2005-10-31 05:06:46 -0500 |
---|---|---|
committer | Anton Altaparmakov <aia21@cantab.net> | 2005-10-31 05:06:46 -0500 |
commit | 1f04c0a24b2f3cfe89c802a24396263623e3512d (patch) | |
tree | d7e2216b6e65b833c0c2b79b478d13ce17dbf296 /init/main.c | |
parent | 07b188ab773e183871e57b33ae37bf635c9f12ba (diff) | |
parent | e2f2e58e7968f8446b1078a20a18bf8ea12b4fbc (diff) |
Merge branch 'master' of /usr/src/ntfs-2.6/
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) { } |