Skip to contentSkip to conversation

x86/CPU: correct reset_cpuinfo() comment

PATCH In review Jan Beulich 2 participants 2 messages Jul 23, 2025 – Aug 4, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/CPU: correct reset_cpuinfo() comment

Part of it stated the opposite of what actual behavior is.

Fixes 7126b7f806d5 ("x86/CPU: re-work populating of cpu_data[]")
xen/arch/x86/include/asm/cpufeature.h +2 -2
@@ -91,8 +91,8 @@ struct cpuinfo_x86 {
 
 /*
  * @keep_basic set to true retains data firmly assumed to be symmetric
- * across all CPUs.  With it set to false only CPU_DATA_INIT() will be
- * invoked on the passed structure.
+ * across all CPUs.  Only CPU_DATA_INIT() will be invoked in that case
+ * on the passed structure.
  */
 void reset_cpuinfo(struct cpuinfo_x86 *c, bool keep_basic);