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/i386 | |
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/i386')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/sysdep.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/sysdep.h b/sysdeps/unix/sysv/linux/i386/sysdep.h index 7f6fcf3288..d76aca50d6 100644 --- a/sysdeps/unix/sysv/linux/i386/sysdep.h +++ b/sysdeps/unix/sysv/linux/i386/sysdep.h @@ -328,6 +328,10 @@ struct libc_do_syscall_args } \ (int) resultvar; }) +/* List of system calls which are supported as vsyscalls. */ +# define HAVE_CLOCK_GETTIME_VSYSCALL 1 +# define HAVE_GETTIMEOFDAY_VSYSCALL 1 + /* Define a macro which expands inline into the wrapper code for a system call. This use is for internal calls that do not need to handle errors normally. It will never touch errno. This returns just what the kernel |