x86: drop cpu_has_ffxsr
authorJan Beulich <jbeulich@suse.com>
Fri, 24 Apr 2020 13:06:15 +0000 (15:06 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 24 Apr 2020 13:06:15 +0000 (15:06 +0200)
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.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/asm-x86/cpufeature.h

index fb8137e3e855ad85279f0679817fcd3ff5657068..859970570b3122d28aeb90892d53bce4b7cf6649 100644 (file)
@@ -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)