diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-12-11 16:39:01 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-01-03 11:22:07 -0300 |
commit | 0dc1a378b135ec46fcc451d96c4a3a64c08e2ace (patch) | |
tree | b263a60c36a5cb2ad7d3b2b9affa7cad36c809c0 /sysdeps/unix/sysv/linux/x86_64/sysdep.h | |
parent | cdae973b6a7eb95b1caf1e1ecfc93de720ac6b44 (diff) | |
download | glibc-0dc1a378b135ec46fcc451d96c4a3a64c08e2ace.tar.gz glibc-0dc1a378b135ec46fcc451d96c4a3a64c08e2ace.tar.xz glibc-0dc1a378b135ec46fcc451d96c4a3a64c08e2ace.zip |
linux: Add support for clock_getres64 vDSO
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. Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/x86_64/sysdep.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/sysdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/sysdep.h b/sysdeps/unix/sysv/linux/x86_64/sysdep.h index 46df401c2d..c2eb37e575 100644 --- a/sysdeps/unix/sysv/linux/x86_64/sysdep.h +++ b/sysdeps/unix/sysv/linux/x86_64/sysdep.h @@ -368,7 +368,7 @@ # define HAVE_GETTIMEOFDAY_VSYSCALL "__vdso_gettimeofday" # define HAVE_TIME_VSYSCALL "__vdso_time" # define HAVE_GETCPU_VSYSCALL "__vdso_getcpu" -# define HAVE_CLOCK_GETRES_VSYSCALL "__vdso_clock_getres" +# define HAVE_CLOCK_GETRES64_VSYSCALL "__vdso_clock_getres" # define SINGLE_THREAD_BY_GLOBAL 1 |