projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2982d0c
)
x86_64: Do not define __NR_semtimedop in <sysdep.h>
author
Florian Weimer
<fweimer@redhat.com>
Tue, 3 Mar 2020 11:50:55 +0000
(12:50 +0100)
committer
Florian 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
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/x86_64/sysdep.h
b/sysdeps/unix/sysv/linux/x86_64/sysdep.h
index
189c5fb
..
24d8b8e
100644
(file)
--- 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,