2009-09-27 10:54:48

by Robert P. J. Day

[permalink] [raw]
Subject: [PATCH] XEN: Fix comment spelling: CPU_HOTPLUG -> HOTPLUG_CPU


The correct CONFIG variable name is "HOTPLUG_CPU".

Signed-off-by: Robert P. J. Day <[email protected]>

---

diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c
index fe03eee..aeb84f7 100644
--- a/arch/x86/xen/smp.c
+++ b/arch/x86/xen/smp.c
@@ -359,7 +359,7 @@ static void xen_cpu_die(unsigned int cpu)
alternatives_smp_switch(0);
}

-static void __cpuinit xen_play_dead(void) /* used only with CPU_HOTPLUG */
+static void __cpuinit xen_play_dead(void) /* used only with HOTPLUG_CPU */
{
play_dead_common();
HYPERVISOR_vcpu_op(VCPUOP_down, smp_processor_id(), NULL);


========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA

Linux Consulting, Training and Annoying Kernel Pedantry.

Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================