From: Xie XiuQi <xiexiuqi@huawei.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: [PATCH] x86, smp: fix misleading native_stop_other_cpus() description
Date: Wed, 12 Mar 2014 11:54:30 +0800 [thread overview]
Message-ID: <531FDA76.9060601@huawei.com> (raw)
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
next reply other threads:[~2014-03-12 3:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-12 3:54 Xie XiuQi [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-12-16 6:09 [PATCH] x86, smp: fix misleading native_stop_other_cpus() description Xie XiuQi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=531FDA76.9060601@huawei.com \
--to=xiexiuqi@huawei.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.