From 96b5c267e52657e99bd1bbf81dd51925447115e2 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Fri, 24 Apr 2020 15:06:15 +0200 Subject: [PATCH] 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 --- xen/include/asm-x86/cpufeature.h | 2 -- 1 file changed, 2 deletions(-) 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) -- 2.30.2