Skip to contentSkip to conversation

x86/kernel/smpboot: fix typo about notify_cpu_starting

PATCH New Vishal Chourasia 1 participant 1 message Sep 16, 2025 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/kernel/smpboot: fix typo about notify_cpu_starting

notify_cpu_starting() takes the min of the target state and CPUHP_AP_ONLINE

---
 arch/x86/kernel/smpboot.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
arch/x86/kernel/smpboot.c +1 -4
index 33e166f6ab12..3561b5ed6ab0 100644
@@ -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);
 }
 
Signature · 1 line
2.51.0