linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cpu/hotplug: fix notify_cpu_starting() reference in bringup_wait_for_ap()
@ 2019-05-28 19:31 Jiri Kosina
  2019-05-28 20:23 ` [tip:smp/hotplug] cpu/hotplug: Fix " tip-bot for Jiri Kosina
  0 siblings, 1 reply; 2+ messages in thread
From: Jiri Kosina @ 2019-05-28 19:31 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, Josh Poimboeuf, Peter Zijlstra; +Cc: linux-kernel

From: Jiri Kosina <jkosina@suse.cz>

bringup_wait_for_ap() comment references cpu_notify_starting(), but the 
function is actually called notify_cpu_starting(). Fix that.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
---
 kernel/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cpu.c b/kernel/cpu.c
index f2ef10460698..be82cbc11a8a 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -522,7 +522,7 @@ static int bringup_wait_for_ap(unsigned int cpu)
 	/*
 	 * SMT soft disabling on X86 requires to bring the CPU out of the
 	 * BIOS 'wait for SIPI' state in order to set the CR4.MCE bit.  The
-	 * CPU marked itself as booted_once in cpu_notify_starting() so the
+	 * CPU marked itself as booted_once in notify_cpu_starting() so the
 	 * cpu_smt_allowed() check will now return false if this is not the
 	 * primary sibling.
 	 */

-- 
Jiri Kosina
SUSE Labs


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

* [tip:smp/hotplug] cpu/hotplug: Fix notify_cpu_starting() reference in bringup_wait_for_ap()
  2019-05-28 19:31 [PATCH] cpu/hotplug: fix notify_cpu_starting() reference in bringup_wait_for_ap() Jiri Kosina
@ 2019-05-28 20:23 ` tip-bot for Jiri Kosina
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Jiri Kosina @ 2019-05-28 20:23 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: hpa, peterz, mingo, jpoimboe, jkosina, linux-kernel, tglx

Commit-ID:  f560201102035ba9def2fc21827dd34690dd126e
Gitweb:     https://git.kernel.org/tip/f560201102035ba9def2fc21827dd34690dd126e
Author:     Jiri Kosina <jkosina@suse.cz>
AuthorDate: Tue, 28 May 2019 21:31:49 +0200
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Tue, 28 May 2019 12:59:03 -0700

cpu/hotplug: Fix notify_cpu_starting() reference in bringup_wait_for_ap()

bringup_wait_for_ap() comment references cpu_notify_starting(), but the 
function is actually called notify_cpu_starting(). Fix that.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lkml.kernel.org/r/nycvar.YFH.7.76.1905282128100.1962@cbobk.fhfr.pm

---
 kernel/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cpu.c b/kernel/cpu.c
index f2ef10460698..be82cbc11a8a 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -522,7 +522,7 @@ static int bringup_wait_for_ap(unsigned int cpu)
 	/*
 	 * SMT soft disabling on X86 requires to bring the CPU out of the
 	 * BIOS 'wait for SIPI' state in order to set the CR4.MCE bit.  The
-	 * CPU marked itself as booted_once in cpu_notify_starting() so the
+	 * CPU marked itself as booted_once in notify_cpu_starting() so the
 	 * cpu_smt_allowed() check will now return false if this is not the
 	 * primary sibling.
 	 */

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

end of thread, other threads:[~2019-05-28 20:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-28 19:31 [PATCH] cpu/hotplug: fix notify_cpu_starting() reference in bringup_wait_for_ap() Jiri Kosina
2019-05-28 20:23 ` [tip:smp/hotplug] cpu/hotplug: Fix " tip-bot for Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).