Consolidate Linux epoll_wait syscall
commitb62c3815912bc679a966134affdedd3f35ae8621
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 21 Nov 2016 19:40:19 +0000 (21 17:40 -0200)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 3 May 2017 13:36:43 +0000 (3 10:36 -0300)
tree23f63208cd67fce9b9638c865dcebf3f887d6d51
parent26f28fd73d20df8847d93f88b6e2a7bd3bd9bf51
Consolidate Linux epoll_wait syscall

This patch consolidates the epoll_wait Linux syscall generation on
sysdeps/unix/sysv/linux/epoll_wait.c.  The implementation tries to
use __NR_epoll_wait if defined, otherwise calls epoll_pwait.

Checked on i686-linux-gnu, x86_64-linux-gnu, x86_64-linux-gnux32,
arch64-linux-gnu, arm-linux-gnueabihf, and powerpc64le-linux-gnu.

* sysdeps/unix/sysv/linux/epoll_wait.c: New file.
* sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
* sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
auto-generation list.
ChangeLog
sysdeps/unix/sysv/linux/Makefile
sysdeps/unix/sysv/linux/epoll_wait.c [moved from sysdeps/unix/sysv/linux/generic/epoll_wait.c with 82% similarity]
sysdeps/unix/sysv/linux/generic/Makefile
sysdeps/unix/sysv/linux/syscalls.list