]> git.ipfire.org Git - thirdparty/glibc.git/commit
linux: Simplify sched_rr_get_interval
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 10 Jul 2020 17:04:48 +0000 (14:04 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 24 Aug 2020 18:04:31 +0000 (15:04 -0300)
commitfd31691c678ada694f141f08c42feed128d7eebc
tree6dc791d23712929911eec00a3c2eb3ad4dfacd09
parent3feb53bab07c29f5390420379b3988f71b19e32c
linux: Simplify sched_rr_get_interval

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