提交 df6b0794 编写于 作者: A Al Viro 提交者: Linus Torvalds

xen_play_dead() is __cpuinit

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 37af46ef
...@@ -362,7 +362,7 @@ static void xen_cpu_die(unsigned int cpu) ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册