Skip to contentSkip to conversation

x86, smp: fix misleading native_stop_other_cpus() description

PATCH New Xie XiuQi 1 participant 1 message Mar 12, 2014 x86

lore
Share & tools
lore

Xie XiuQi

author
#0 lore raw

PATCH 1/1 x86, smp: fix misleading native_stop_other_cpus() description

The description should be for native_stop_other_cpus() instead of smp_reboot_interrupt().

---
 arch/x86/kernel/smp.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
arch/x86/kernel/smp.c +3 -4
index 7c3a5a6..f295a18 100644
@@ -164,10 +164,6 @@ static int smp_stop_nmi_callback(unsigned int val, struct pt_regs *regs)
 	return NMI_HANDLED;
 }
 
-/*
- * this function calls the 'stop' function on all other CPUs in the system.
- */
-
 asmlinkage void smp_reboot_interrupt(void)
 {
 	ack_APIC_irq();
@@ -176,6 +172,9 @@ asmlinkage void smp_reboot_interrupt(void)
 	irq_exit();
 }
 
+/*
+ * this function calls the 'stop' function on all other CPUs in the system.
+ */
 static void native_stop_other_cpus(int wait)
 {
 	unsigned long flags;
Signature · 1 line
1.6.0.2