aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-03-03 12:50:55 +0100
committerFlorian Weimer <fweimer@redhat.com>2020-03-03 12:50:56 +0100
commit63e9b4bd9c4a622659688c150b725cf3890b25d3 (patch)
treea7d9d8f1d72e7d26dacb8b2cf5b13f0973367543
parentia64: Do not define __NR_semtimedop in <sysdep.h> (diff)
downloadglibc-63e9b4bd9c4a622659688c150b725cf3890b25d3.tar.gz
glibc-63e9b4bd9c4a622659688c150b725cf3890b25d3.tar.bz2
glibc-63e9b4bd9c4a622659688c150b725cf3890b25d3.zip
x86_64: Do not define __NR_semtimedop in <sysdep.h>
The definition is always available from the built-in system call table. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/sysdep.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/sysdep.h b/sysdeps/unix/sysv/linux/x86_64/sysdep.h
index 189c5fb327..24d8b8ec20 100644
--- a/sysdeps/unix/sysv/linux/x86_64/sysdep.h
+++ b/sysdeps/unix/sysv/linux/x86_64/sysdep.h
@@ -33,13 +33,6 @@
#undef SYS_ify
#define SYS_ify(syscall_name) __NR_##syscall_name
-/* This is to help the old kernel headers where __NR_semtimedop is not
- available. */
-#ifndef __NR_semtimedop
-# define __NR_semtimedop 220
-#endif
-
-
#ifdef __ASSEMBLER__
/* Linux uses a negative return value to indicate syscall errors,