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/s390/s390-64/sysdep.h | |
parent | Fix sorting order for Ukrainian locale (BZ 17293) (diff) | |
download | glibc-97554e4382e5d85eccf146b58f85aaad7e3d687c.tar.gz glibc-97554e4382e5d85eccf146b58f85aaad7e3d687c.tar.bz2 glibc-97554e4382e5d85eccf146b58f85aaad7e3d687c.zip |
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/s390/s390-64/sysdep.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h b/sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h index c944634cde..c041153b3a 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h +++ b/sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h @@ -287,6 +287,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 /* This version is for internal uses when there is no desire to set errno */ |