diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-08-13 03:46:13 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-08-13 03:46:26 -0700 |
commit | e54388bd8be2828b8b7a207e9c5a10049ad3bb79 (patch) | |
tree | c6d785d90c8e1c61575ad66ce3219d9c2a1d2d3c | |
parent | b376899d27e5ac892f0339cf1bbb3d2158347db8 (diff) | |
download | glibc-e54388bd8be2828b8b7a207e9c5a10049ad3bb79.tar glibc-e54388bd8be2828b8b7a207e9c5a10049ad3bb79.tar.gz glibc-e54388bd8be2828b8b7a207e9c5a10049ad3bb79.tar.bz2 glibc-e54388bd8be2828b8b7a207e9c5a10049ad3bb79.zip |
Don't include <cpuid.h> in elision-conf.h
Don't include the unused <cpuid.h> in Linux/x86 elision-conf.h.
* sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
<cpuid.h>.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/x86/elision-conf.h | 1 |
2 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2015-08-13 H.J. Lu <hongjiu.lu@intel.com> + * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include + <cpuid.h>. + +2015-08-13 H.J. Lu <hongjiu.lu@intel.com> + * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init): Replace HAS_RTM with HAS_CPU_FEATURE (RTM). diff --git a/sysdeps/unix/sysv/linux/x86/elision-conf.h b/sysdeps/unix/sysv/linux/x86/elision-conf.h index 186df3d0bb..6967431336 100644 --- a/sysdeps/unix/sysv/linux/x86/elision-conf.h +++ b/sysdeps/unix/sysv/linux/x86/elision-conf.h @@ -19,7 +19,6 @@ #define _ELISION_CONF_H 1 #include <pthread.h> -#include <cpuid.h> #include <time.h> /* Should make sure there is no false sharing on this. */ |