lkml.org 
[lkml]   [2013]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectx86, smp: fix misleading native_stop_other_cpus() description
The description should be for native_stop_other_cpus() instead of
smp_reboot_interrupt().

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
---
arch/x86/kernel/smp.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/arch/x86/kernel/smp.c b/arch/x86/kernel/smp.c
index 7c3a5a6..f295a18 100644
--- a/arch/x86/kernel/smp.c
+++ b/arch/x86/kernel/smp.c
@@ -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;
--
1.8.2.2


\
 
 \ /
  Last update: 2013-11-29 12:21    [W:0.025 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site