xen_play_dead() is __cpuinit

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Al Viro 2008-11-22 17:38:04 +00:00 committed by Linus Torvalds
parent 37af46efa5
commit df6b07949b

View file

@ -362,7 +362,7 @@ static void xen_cpu_die(unsigned int cpu)
alternatives_smp_switch(0); alternatives_smp_switch(0);
} }
static void xen_play_dead(void) static void __cpuinit xen_play_dead(void) /* used only with CPU_HOTPLUG */
{ {
play_dead_common(); play_dead_common();
HYPERVISOR_vcpu_op(VCPUOP_down, smp_processor_id(), NULL); HYPERVISOR_vcpu_op(VCPUOP_down, smp_processor_id(), NULL);