summaryrefslogtreecommitdiff
path: root/tools/arch
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2025-02-28 00:23:34 -0800
committerBorislav Petkov (AMD) <bp@alien8.de>2025-02-28 11:42:34 +0100
commit909639aa58fe4789644104c1fd89264c57da0979 (patch)
tree683d04224c34660d95a940589616f851cef2ef01 /tools/arch
parentab68d2e36532806b8f86ff2f60861dbb8443f0be (diff)
x86/cpufeatures: Rename X86_CMPXCHG64 to X86_CX8
Replace X86_CMPXCHG64 with X86_CX8, as CX8 is the name of the CPUID flag, thus to make it consistent with X86_FEATURE_CX8 defined in <asm/cpufeatures.h>. No functional change intended. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com> Signed-off-by: Xin Li (Intel) <xin@zytor.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20250228082338.73859-2-xin@zytor.com
Diffstat (limited to 'tools/arch')
-rw-r--r--tools/arch/x86/include/asm/required-features.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/arch/x86/include/asm/required-features.h b/tools/arch/x86/include/asm/required-features.h
index e9187ddd3d1f..0068133cb622 100644
--- a/tools/arch/x86/include/asm/required-features.h
+++ b/tools/arch/x86/include/asm/required-features.h
@@ -23,7 +23,7 @@
# define NEED_PAE 0
#endif
-#ifdef CONFIG_X86_CMPXCHG64
+#ifdef CONFIG_X86_CX8
# define NEED_CX8 (1<<(X86_FEATURE_CX8 & 31))
#else
# define NEED_CX8 0