linux: Simplify mq_timedreceive
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 10 Jul 2020 13:41:23 +0000 (10:41 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 24 Aug 2020 18:04:31 +0000 (15:04 -0300)
commit1e03b6d828f09e306c10583385ba4129be09039c
tree635a1f6166ef40f634c99b742276b0b77e034688
parentff6228d5c6b0fa34ecb51228be57392649ffc88e
linux: Simplify mq_timedreceive

With arch-syscall.h it can now assumes the existance of either
__NR_mq_timedreceive or __NR_mq_timedreceive_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/mq_timedreceive.c