[PATCH] x86/kernel/smpboot: fix typo about notify_cpu_starting

Vishal Chourasia posted 1 patch 2 weeks, 1 day ago
arch/x86/kernel/smpboot.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
[PATCH] x86/kernel/smpboot: fix typo about notify_cpu_starting
Posted by Vishal Chourasia 2 weeks, 1 day ago
`notify_cpu_starting()` takes the min of the target state and
CPUHP_AP_ONLINE

Signed-off-by: Vishal Chourasia <vishalc@linux.ibm.com>
---
 arch/x86/kernel/smpboot.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index 33e166f6ab12..3561b5ed6ab0 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -204,10 +204,7 @@ static void ap_starting(void)
 
 	wmb();
 
-	/*
-	 * This runs the AP through all the cpuhp states to its target
-	 * state CPUHP_ONLINE.
-	 */
+	/* This runs the AP up to the CPUHP_AP_ONLINE state */
 	notify_cpu_starting(cpuid);
 }
 
-- 
2.51.0