diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-05-14 17:07:52 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-05-14 17:07:52 +0100 |
commit | 27c31d386746bea3daa5b3733c9f986a9c3cccc3 (patch) | |
tree | 64ef675ed9b4c0836ab9076b7280e88a64f5bb16 /xen/include/asm-x86/smp.h | |
parent | 2e4146ddc277d2ddd861646b8b1ba83182eb84bb (diff) | |
download | xen-27c31d386746bea3daa5b3733c9f986a9c3cccc3.tar.gz xen-27c31d386746bea3daa5b3733c9f986a9c3cccc3.tar.bz2 xen-27c31d386746bea3daa5b3733c9f986a9c3cccc3.zip |
Move cpu hotplug routines into common cpu.c file.
Also simplify the locking (reverting to use if spin_trylock, as
returning EBUSY/EAGAIN seems unavoidable after all). In particular
this should continue to ensure that stop_machine_run() does not have
cpu_online_map change under its feet.
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.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/xen/include/asm-x86/smp.h b/xen/include/asm-x86/smp.h index d67165493a..3c85b87956 100644 --- a/xen/include/asm-x86/smp.h +++ b/xen/include/asm-x86/smp.h @@ -56,12 +56,8 @@ extern u32 cpu_2_logical_apicid[]; DECLARE_PER_CPU(int, cpu_state); #define cpu_is_offline(cpu) unlikely(!cpu_online(cpu)) -extern int cpu_down(unsigned int cpu); -extern int cpu_up(unsigned int cpu); extern void cpu_exit_clear(void); extern void cpu_uninit(void); -extern void disable_nonboot_cpus(void); -extern void enable_nonboot_cpus(void); int cpu_add(uint32_t apic_id, uint32_t acpi_id, uint32_t pxm); /* |