public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/fw/syscall-cleanups] x86_64: Do not define __NR_semtimedop in <sysdep.h>
@ 2020-02-09 16:57 Florian Weimer
  0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2020-02-09 16:57 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=fe7f3fe7f8b42acb6dd6b9b1610a0cb21226021a

commit fe7f3fe7f8b42acb6dd6b9b1610a0cb21226021a
Author: Florian Weimer <fweimer@redhat.com>
Date:   Sun Feb 9 16:43:44 2020 +0100

    x86_64: Do not define __NR_semtimedop in <sysdep.h>
    
    The definition is always available from the built-in system call table.

Diff:
---
 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 c2eb37e..b8aa1a2 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,


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-09 16:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-09 16:57 [glibc/fw/syscall-cleanups] x86_64: Do not define __NR_semtimedop in <sysdep.h> Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).