diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.com> | 2015-04-17 14:28:03 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2015-06-01 22:25:02 -0300 |
commit | 1395ef210722633a1f10a5e6acb29da13933d0c6 (patch) | |
tree | b94140cbf65b13b5d9964f1c3eab638e8090c192 /sysdeps/unix/sysv/linux/x86_64 | |
parent | 44c924997806580c2e90d350275e270a3d365186 (diff) | |
download | glibc-1395ef210722633a1f10a5e6acb29da13933d0c6.tar.gz glibc-1395ef210722633a1f10a5e6acb29da13933d0c6.tar.xz glibc-1395ef210722633a1f10a5e6acb29da13933d0c6.zip |
x86: clock_gettime and timespec_get vDSO cleanup
This patch removes the x86 specific timespec_get and clock_gettime implementation to use generic HAVE_CLOCK_GETTIME_VSYSCALL way.
Diffstat (limited to 'sysdeps/unix/sysv/linux/x86_64')
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/sysdep.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/sysdep.h b/sysdeps/unix/sysv/linux/x86_64/sysdep.h index cc6609347e..bea3192466 100644 --- a/sysdeps/unix/sysv/linux/x86_64/sysdep.h +++ b/sysdeps/unix/sysv/linux/x86_64/sysdep.h @@ -252,6 +252,10 @@ # undef INTERNAL_SYSCALL_ERRNO # define INTERNAL_SYSCALL_ERRNO(val, err) (-(val)) +/* List of system calls which are supported as vsyscalls. */ +# define HAVE_CLOCK_GETTIME_VSYSCALL 1 +# define HAVE_GETTIMEOFDAY_VSYSCALL 1 + # define LOAD_ARGS_0() # define LOAD_REGS_0 # define ASM_ARGS_0 |