Skip to contentSkip to conversation

x86: drop cpu_has_ffxsr

PATCH In review Jan Beulich 2 participants 2 messages Apr 24, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: drop cpu_has_ffxsr

It's definition is bogus when it comes to Hygon CPUs, but since we don't use it anywhere drop it rather than correcting it.

xen/include/asm-x86/cpufeature.h +0 -2
@@ -66,8 +66,6 @@
 
 /* CPUID level 0x80000001.edx */
 #define cpu_has_nx              boot_cpu_has(X86_FEATURE_NX)
-#define cpu_has_ffxsr           ((boot_cpu_data.x86_vendor == X86_VENDOR_AMD) \
-                                 && boot_cpu_has(X86_FEATURE_FFXSR))
 #define cpu_has_page1gb         boot_cpu_has(X86_FEATURE_PAGE1GB)
 #define cpu_has_rdtscp          boot_cpu_has(X86_FEATURE_RDTSCP)
 #define cpu_has_3dnow_ext       boot_cpu_has(X86_FEATURE_3DNOWEXT)