aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-12-23 18:34:34 -0800
committerH.J. Lu <hjl.tools@gmail.com>2020-12-24 04:39:08 -0800
commit45dcd1af092fe441e5f23350ebf6019144eb3ca7 (patch)
tree847d614aa17b51fde3f9edee64facfb75b84f17c /sysdeps/x86
parent41290b6e842a2adfbda77a49abfacb0db2d63bfb (diff)
downloadglibc-45dcd1af092fe441e5f23350ebf6019144eb3ca7.tar
glibc-45dcd1af092fe441e5f23350ebf6019144eb3ca7.tar.gz
glibc-45dcd1af092fe441e5f23350ebf6019144eb3ca7.tar.bz2
glibc-45dcd1af092fe441e5f23350ebf6019144eb3ca7.zip
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.
Diffstat (limited to 'sysdeps/x86')
-rw-r--r--sysdeps/x86/include/cpu-features.h2
1 files changed, 0 insertions, 2 deletions
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