]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86: cpufeature: fix SMX flag
authorH. Peter Anvin <hpa@zytor.com>
Thu, 28 Aug 2008 05:05:45 +0000 (22:05 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 28 Aug 2008 05:05:45 +0000 (22:05 -0700)
Impact: "smx" flags showed as "safer" in /proc/cpuinfo

The SMX feature flag is the so-called "safer mode"... I had put that
in quotes, but that flagged it as a cpuinfo flag name.  Remove the
quotes to correct the flag name in /proc/cpuinfo.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
include/asm-x86/cpufeature.h

index 7710686c11f903ebece985ffd0963a6aacbef0e1..24d99d65741dd7820d8be604be7fa430fd8db13b 100644 (file)
@@ -97,7 +97,7 @@
 #define X86_FEATURE_MWAIT      (4*32+ 3) /* "monitor" Monitor/Mwait support */
 #define X86_FEATURE_DSCPL      (4*32+ 4) /* "ds_cpl" CPL Qual. Debug Store */
 #define X86_FEATURE_VMX                (4*32+ 5) /* Hardware virtualization */
-#define X86_FEATURE_SMX                (4*32+ 6) /* "Safer" mode */
+#define X86_FEATURE_SMX                (4*32+ 6) /* Safer mode */
 #define X86_FEATURE_EST                (4*32+ 7) /* Enhanced SpeedStep */
 #define X86_FEATURE_TM2                (4*32+ 8) /* Thermal Monitor 2 */
 #define X86_FEATURE_SSSE3      (4*32+ 9) /* Supplemental SSE-3 */