From 45dcd1af092fe441e5f23350ebf6019144eb3ca7 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 23 Dec 2020 18:34:34 -0800 Subject: x86: Remove the duplicated CPU_FEATURE_CPU_P CPU_FEATURE_CPU_P is defined in sysdeps/x86/sys/platform/x86.h. Remove the duplicated CPU_FEATURE_CPU_P in sysdeps/x86/include/cpu-features.h. --- sysdeps/x86/include/cpu-features.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'sysdeps/x86/include') diff --git a/sysdeps/x86/include/cpu-features.h b/sysdeps/x86/include/cpu-features.h index f62be0b9b3..0df57d9a17 100644 --- a/sysdeps/x86/include/cpu-features.h +++ b/sysdeps/x86/include/cpu-features.h @@ -57,8 +57,6 @@ enum |= ptr->features[index_cpu_##name].cpuid.reg_##name & bit_cpu_##name; # define CPU_FEATURE_PREFERRED_P(ptr, name) \ ((ptr->preferred[index_arch_##name] & bit_arch_##name) != 0) -# define CPU_FEATURE_CPU_P(ptr, name) \ - CPU_FEATURE_CHECK_P (ptr, name, cpuid) /* HAS_CPU_FEATURE evaluates to true if CPU supports the feature. */ # undef HAS_CPU_FEATURE -- cgit 1.4.1