Skip to contentSkip to conversation

x86/CPUID: correct FEATURESET_7d2 comment

PATCH In review Jan Beulich 2 participants 2 messages Feb 28, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/CPUID: correct FEATURESET_7d2 comment

xen/include/xen/lib/x86/cpuid.h +1 -1
@@ -17,7 +17,7 @@
 #define FEATURESET_7a1   10 /* 0x00000007:1.eax    */
 #define FEATURESET_e21a  11 /* 0x80000021.eax      */
 #define FEATURESET_7b1   12 /* 0x00000007:1.ebx    */
-#define FEATURESET_7d2   13 /* 0x80000007:2.edx    */
+#define FEATURESET_7d2   13 /* 0x00000007:2.edx    */
 
 struct cpuid_leaf
 {
Reviewed-by on v1 1/1
#1 lore raw

xen/include/xen/lib/x86/cpuid.h line 20

Quoted 10 lines · Jan Beulich
xen/include/xen/lib/x86/cpuid.h +1 -1
@@ -17,7 +17,7 @@
 #define FEATURESET_7a1   10 /* 0x00000007:1.eax    */
 #define FEATURESET_e21a  11 /* 0x80000021.eax      */
 #define FEATURESET_7b1   12 /* 0x00000007:1.ebx    */
-#define FEATURESET_7d2   13 /* 0x80000007:2.edx    */
+#define FEATURESET_7d2   13 /* 0x00000007:2.edx    */

Oops.