x86_64: Do not define __NR_semtimedop in <sysdep.h>
authorFlorian Weimer <fweimer@redhat.com>
Tue, 3 Mar 2020 11:50:55 +0000 (12:50 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 3 Mar 2020 11:50:56 +0000 (12:50 +0100)
The definition is always available from the built-in system call table.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/unix/sysv/linux/x86_64/sysdep.h

index 189c5fb..24d8b8e 100644 (file)
 #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,