This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 23/26] x86_64: Do not define __NR_semtimedop in <sysdep.h>
- From: Florian Weimer <fweimer at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Sun, 09 Feb 2020 21:21:19 +0100
- Subject: [PATCH 23/26] x86_64: Do not define __NR_semtimedop in <sysdep.h>
- References: <cover.1581279333.git.fweimer@redhat.com>
The definition is always available from the built-in system call table.
---
sysdeps/unix/sysv/linux/x86_64/sysdep.h | 7 -------
1 file changed, 7 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/x86_64/sysdep.h b/sysdeps/unix/sysv/linux/x86_64/sysdep.h
index c2eb37e575..b8aa1a2b2f 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,
--
2.24.1