From 63e9b4bd9c4a622659688c150b725cf3890b25d3 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 3 Mar 2020 12:50:55 +0100 Subject: [PATCH] x86_64: Do not define __NR_semtimedop in The definition is always available from the built-in system call table. Reviewed-by: Adhemerval Zanella --- 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 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, -- 2.43.5