aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/smp.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-11-12 11:59:18 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-11-12 11:59:18 +0000
commitdaa70e9d6e2679efde2d42592dce08b603f00f8a (patch)
tree0fb0df232264a6694e860a6990142ed8eb32dac1 /xen/include/asm-x86/smp.h
parentc1100c28edad0c4494bba80f7b2da1f573d28d44 (diff)
downloadxen-daa70e9d6e2679efde2d42592dce08b603f00f8a.tar.gz
xen-daa70e9d6e2679efde2d42592dce08b603f00f8a.tar.bz2
xen-daa70e9d6e2679efde2d42592dce08b603f00f8a.zip
x86: Remove non-CONFIG_HOTPLUG_CPU code, and general cleanup.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/asm-x86/smp.h')
-rw-r--r--xen/include/asm-x86/smp.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/xen/include/asm-x86/smp.h b/xen/include/asm-x86/smp.h
index 515cc9a1e0..6f5200dbed 100644
--- a/xen/include/asm-x86/smp.h
+++ b/xen/include/asm-x86/smp.h
@@ -58,7 +58,6 @@ extern u32 cpu_2_logical_apicid[];
DECLARE_PER_CPU(int, cpu_state);
extern spinlock_t(cpu_add_remove_lock);
-#ifdef CONFIG_HOTPLUG_CPU
#define cpu_is_offline(cpu) unlikely(!cpu_online(cpu))
extern int cpu_down(unsigned int cpu);
extern int cpu_up(unsigned int cpu);
@@ -66,13 +65,7 @@ extern void cpu_exit_clear(void);
extern void cpu_uninit(void);
extern void disable_nonboot_cpus(void);
extern void enable_nonboot_cpus(void);
-int prefill_possible_map(void);
int cpu_add(uint32_t apic_id, uint32_t acpi_id, uint32_t pxm);
-#else
-static inline int cpu_is_offline(int cpu) {return 0;}
-static inline void disable_nonboot_cpus(void) {}
-static inline void enable_nonboot_cpus(void) {}
-#endif
/*
* This function is needed by all SMP systems. It must _always_ be valid