summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/smp.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2008-11-22 18:38:04 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-11-30 19:03:38 +0100
commitdf6b07949b6cab9d119363d02ef63379160f6c82 (patch)
tree95d0cb89200691f5c3277b627d9d12c0162872de /arch/x86/xen/smp.c
parentxen_setup_vcpu_info_placement() is not init on x86 (diff)
downloadlinux-df6b07949b6cab9d119363d02ef63379160f6c82.tar.xz
linux-df6b07949b6cab9d119363d02ef63379160f6c82.zip
xen_play_dead() is __cpuinit
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--arch/x86/xen/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c
index d77da613b1d2..acd9b6705e02 100644
--- a/arch/x86/xen/smp.c
+++ b/arch/x86/xen/smp.c
@@ -362,7 +362,7 @@ static void xen_cpu_die(unsigned int cpu)
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();
HYPERVISOR_vcpu_op(VCPUOP_down, smp_processor_id(), NULL);