aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/kernel-features.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-03-15 21:11:07 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-03-15 21:11:07 +0000
commit089b772f98afd9eb6264c6489bc96a30bf6af4ac (patch)
tree6f78b9cb5c8abdbfddb0ca9fcacd4029b1f0c76c /sysdeps/unix/sysv/linux/kernel-features.h
parent35ade9f11b9007ee9683529f2d33698ff35255c8 (diff)
downloadglibc-089b772f98afd9eb6264c6489bc96a30bf6af4ac.zip
glibc-089b772f98afd9eb6264c6489bc96a30bf6af4ac.tar.gz
glibc-089b772f98afd9eb6264c6489bc96a30bf6af4ac.tar.bz2
Remove __ASSUME_PPOLL.
With current kernel version requirements, the ppoll Linux syscall can be assumed to be present on all architectures; this patch removes the __ASSUME_PPOLL macro and conditionals on it and on whether __NR_ppoll is defined. (Note that the same can't yet be done for pselect, because MicroBlaze only wired that up in the syscall table in 3.15.) Tested for x86_64 and x86 that installed stripped shared libraries are unchanged by the patch. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL): Remove macro. * sysdeps/unix/sysv/linux/ppoll.c: Do not include <kernel-features.h>. [__NR_ppoll]: Make code unconditional. [!__ASSUME_PPOLL]: Remove conditional code.
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index 4411503..4a7460e 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -58,7 +58,6 @@
/* pselect/ppoll were introduced just after 2.6.16-rc1. On x86_64 and
SH this appeared first in 2.6.19-rc1, on ia64 in 2.6.22-rc1. */
#define __ASSUME_PSELECT 1
-#define __ASSUME_PPOLL 1
/* The *at syscalls were introduced just after 2.6.16-rc1. On PPC
they were introduced in 2.6.17-rc1, on SH in 2.6.19-rc1. */