This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2 15/16] linux: Add support for clock_getres64 vDSO


On 18/12/19 3:17 am, Adhemerval Zanella wrote:
> Changes from previous version:
> 
>   - Rename HAVE_CLOCK_GETTIME_VSYSCALL to
>     HAVE_CLOCK_GETTIME64_VSYSCALL on 64 bit time_t architectures.
> 
> --
> 
> No architecture currently defines the vDSO symbol.  On archictures
> with 64-bit time_t the HAVE_CLOCK_GETRES_VSYSCALL is renamed to
> HAVE_CLOCK_GETRES64_VSYSCALL, it simplifies clock_gettime code.
> ---
>  sysdeps/unix/sysv/linux/aarch64/sysdep.h |  2 +-
>  sysdeps/unix/sysv/linux/clock_getres.c   | 17 ++++++++++-------
>  sysdeps/unix/sysv/linux/dl-vdso-setup.c  |  4 ++++
>  sysdeps/unix/sysv/linux/dl-vdso-setup.h  |  3 +++
>  sysdeps/unix/sysv/linux/powerpc/sysdep.h |  3 ++-
>  sysdeps/unix/sysv/linux/riscv/sysdep.h   |  2 +-
>  sysdeps/unix/sysv/linux/s390/sysdep.h    |  3 ++-
>  sysdeps/unix/sysv/linux/x86_64/sysdep.h  |  2 +-
>  8 files changed, 24 insertions(+), 12 deletions(-)
> 

OK.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]