diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.com> | 2015-04-17 11:48:51 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2015-05-26 17:03:35 -0300 |
commit | 97554e4382e5d85eccf146b58f85aaad7e3d687c (patch) | |
tree | b28561af0c0193d8877dd3ca19e277e5c80b4c4b /sysdeps/unix/sysv/linux/aarch64/sysdep.h | |
parent | 6afb9c0175006c8060928537842364f83df6fc15 (diff) | |
download | glibc-97554e4382e5d85eccf146b58f85aaad7e3d687c.zip glibc-97554e4382e5d85eccf146b58f85aaad7e3d687c.tar.gz glibc-97554e4382e5d85eccf146b58f85aaad7e3d687c.tar.bz2 |
Consolidate gettimeofday across aarch64/s390/tile
This patch removes the architecture specific gettimeofday implementation
to use the vDSO symbol and consolidate it on a common Linux one.
Similar to clock_gettime and clock_getres vDSO implementation, each port
that supports gettimeofday through vDSO should just implement INLINE_VSYSCALL
to access the symbol and define HAVE_{GETTIME,GETRES}_VSYSCAL as 1.
Diffstat (limited to 'sysdeps/unix/sysv/linux/aarch64/sysdep.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/aarch64/sysdep.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/sysdep.h b/sysdeps/unix/sysv/linux/aarch64/sysdep.h index e69622a..fe94a50 100644 --- a/sysdeps/unix/sysv/linux/aarch64/sysdep.h +++ b/sysdeps/unix/sysv/linux/aarch64/sysdep.h @@ -155,6 +155,7 @@ /* List of system calls which are supported as vsyscalls. */ # define HAVE_CLOCK_GETRES_VSYSCALL 1 # define HAVE_CLOCK_GETTIME_VSYSCALL 1 +# define HAVE_GETTIMEOFDAY_VSYSCALL 1 /* Define a macro which expands into the inline wrapper code for a system call. */ |