linux: Simplify ppoll
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 10 Jul 2020 16:33:40 +0000 (13:33 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 24 Aug 2020 18:04:31 +0000 (15:04 -0300)
commit3feb53bab07c29f5390420379b3988f71b19e32c
tree2d58227e94bce9659ee90fca502df141916d2d04
parent85077eaa54fa489c676535b1dad8b617a6485cd0
linux: Simplify ppoll

With arch-syscall.h it can now assumes the existance of either
__NR_ppoll or __NR_ppoll_time64.  The 32-bit time_t support is now
only build for !__ASSUME_TIME64_SYSCALLS.

Checked on x86_64-linux-gnu and i686-linux-gnu (on 5.4 and on 4.15
kernel).

Reviewed-by: Lukasz Majewski <lukma@denx.de>
sysdeps/unix/sysv/linux/ppoll.c