This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2 15/16] linux: Add support for clock_getres64 vDSO
- From: Siddhesh Poyarekar <siddhesh at gotplt dot org>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, libc-alpha at sourceware dot org
- Date: Thu, 2 Jan 2020 18:45:16 +0530
- Subject: Re: [PATCH v2 15/16] linux: Add support for clock_getres64 vDSO
- References: <20191217214728.2886-1-adhemerval.zanella@linaro.org> <20191217214728.2886-15-adhemerval.zanella@linaro.org>
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>