Skip to content
Commit ecdcafa5 authored by Adhemerval Zanella's avatar Adhemerval Zanella
Browse files

linux: Simplify clock_getres



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

It also uses the time64-support functions to simplify it further.

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

Reviewed-by: default avatarAlistair Francis <alistair.francis@wdc.com>
parent 9efac043
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment