From: Jan Beulich Date: Fri, 24 Apr 2020 13:06:15 +0000 (+0200) Subject: x86: drop cpu_has_ffxsr X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~354 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=96b5c267e52657e99bd1bbf81dd51925447115e2;p=xen.git 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. Signed-off-by: Jan Beulich Acked-by: Andrew Cooper --- diff --git a/xen/include/asm-x86/cpufeature.h b/xen/include/asm-x86/cpufeature.h index fb8137e3e8..859970570b 100644 --- a/xen/include/asm-x86/cpufeature.h +++ b/xen/include/asm-x86/cpufeature.h @@ -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)