diff options
author | Lukasz Majewski <lukma@denx.de> | 2020-01-06 13:52:00 +0100 |
---|---|---|
committer | Lukasz Majewski <lukma@denx.de> | 2020-02-02 11:23:50 +0100 |
commit | b112f53e9d0fc85fc68aadd6442b00491d19830b (patch) | |
tree | 3174676c17b0cd3cafc4b401318005dac6fe8150 /conform | |
parent | eae22432723b877354291aca4dbbfde5891dad59 (diff) | |
download | glibc-b112f53e9d0fc85fc68aadd6442b00491d19830b.tar glibc-b112f53e9d0fc85fc68aadd6442b00491d19830b.tar.gz glibc-b112f53e9d0fc85fc68aadd6442b00491d19830b.tar.bz2 glibc-b112f53e9d0fc85fc68aadd6442b00491d19830b.zip |
y2038: linux: Provide __sched_rr_get_interval64 implementation
This patch replaces auto generated wrapper (as described in
sysdeps/unix/sysv/linux/syscalls.list) for sched_rr_get_interval with one which
adds extra support for reading 64 bit time values on machines with
__TIMESIZE != 64.
There is no functional change for architectures already supporting 64 bit
time ABI.
The sched_rr_get_interval declaration in ./include/sched.h is not followed by
corresponding libc_hidden_proto(), so it has been assumed that newly introduced
syscall wrapper doesn't require libc_hidden_def() (which has been added by
template used with auto generation script).
Moreover, the code for building sched_rr_gi.c file is already placed in
./posix/Makefiles, so there was no need to add it elsewhere.
Performed tests and validation are the same as for timer_gettime() conversion
(sysdeps/unix/sysv/linux/timer_gettime.c).
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'conform')
0 files changed, 0 insertions, 0 deletions