public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86, smp: fix misleading native_stop_other_cpus() description
@ 2013-12-16  6:09 Xie XiuQi
  0 siblings, 0 replies; 2+ messages in thread
From: Xie XiuQi @ 2013-12-16  6:09 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin
  Cc: x86, linux-kernel@vger.kernel.org

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] x86, smp: fix misleading native_stop_other_cpus() description
@ 2014-03-12  3:54 Xie XiuQi
  0 siblings, 0 replies; 2+ messages in thread
From: Xie XiuQi @ 2014-03-12  3:54 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel@vger.kernel.org

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 files 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.6.0.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-12  3:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-16  6:09 [PATCH] x86, smp: fix misleading native_stop_other_cpus() description Xie XiuQi
  -- strict thread matches above, loose matches on Subject: below --
2014-03-12  3:54 Xie XiuQi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox