|
@@ -87,10 +87,6 @@
|
|
|
#include <asm/sections.h>
|
|
|
#include <asm/cacheflush.h>
|
|
|
|
|
|
-#ifdef CONFIG_X86_LOCAL_APIC
|
|
|
-#include <asm/smp.h>
|
|
|
-#endif
|
|
|
-
|
|
|
static int kernel_init(void *);
|
|
|
|
|
|
extern void init_IRQ(void);
|
|
@@ -351,15 +347,6 @@ __setup("rdinit=", rdinit_setup);
|
|
|
|
|
|
#ifndef CONFIG_SMP
|
|
|
static const unsigned int setup_max_cpus = NR_CPUS;
|
|
|
-#ifdef CONFIG_X86_LOCAL_APIC
|
|
|
-static void __init smp_init(void)
|
|
|
-{
|
|
|
- APIC_init_uniprocessor();
|
|
|
-}
|
|
|
-#else
|
|
|
-#define smp_init() do { } while (0)
|
|
|
-#endif
|
|
|
-
|
|
|
static inline void setup_nr_cpu_ids(void) { }
|
|
|
static inline void smp_prepare_cpus(unsigned int maxcpus) { }
|
|
|
#endif
|