about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/kernel-features.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index e47da2a7c0..7386ce96df 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-05-08  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/unix/sysv/linux/x86_64/kernel-features.h
+	(__ASSUME_GETCPU_SYSCALL): Remove macro.
+
 2017-05-08  Florian Weimer  <fweimer@redhat.com>
 
 	Prevent multiple deletion of temporary files.
diff --git a/sysdeps/unix/sysv/linux/x86_64/kernel-features.h b/sysdeps/unix/sysv/linux/x86_64/kernel-features.h
index ea892b1121..115e34c090 100644
--- a/sysdeps/unix/sysv/linux/x86_64/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/x86_64/kernel-features.h
@@ -17,11 +17,6 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-/* getcpu is a syscall for x86-64 since 3.1.  */
-#if __LINUX_KERNEL_VERSION >= 0x030100
-# define __ASSUME_GETCPU_SYSCALL	1
-#endif
-
 /* Define that x32 is a ILP32 ABI to set the correct interface to pass
    64-bits values through syscalls.  */
 #ifdef __ILP32__