]> sourceware.org Git - glibc.git/commit
Remove __ASSUME_PPOLL.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 15 Mar 2016 21:11:07 +0000 (21:11 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 15 Mar 2016 21:11:07 +0000 (21:11 +0000)
commit089b772f98afd9eb6264c6489bc96a30bf6af4ac
tree6f78b9cb5c8abdbfddb0ca9fcacd4029b1f0c76c
parent35ade9f11b9007ee9683529f2d33698ff35255c8
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.
ChangeLog
sysdeps/unix/sysv/linux/kernel-features.h
sysdeps/unix/sysv/linux/ppoll.c
This page took 0.036442 seconds and 5 git commands to generate.