[12/16] linux: Enable vDSO clock_gettime64 for i386
Commit Message
It was added on Linux 5.3 (commit 22ca962288c0a).
Checked on i686-linux-gnu with 5.3.0 kernel.
---
sysdeps/unix/sysv/linux/i386/sysdep.h | 1 +
1 file changed, 1 insertion(+)
Comments
On 18/12/19 3:17 am, Adhemerval Zanella wrote:
> It was added on Linux 5.3 (commit 22ca962288c0a).
>
> Checked on i686-linux-gnu with 5.3.0 kernel.
> ---
> sysdeps/unix/sysv/linux/i386/sysdep.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/sysdeps/unix/sysv/linux/i386/sysdep.h b/sysdeps/unix/sysv/linux/i386/sysdep.h
> index b2e750d490..5156587d95 100644
> --- a/sysdeps/unix/sysv/linux/i386/sysdep.h
> +++ b/sysdeps/unix/sysv/linux/i386/sysdep.h
> @@ -314,6 +314,7 @@ struct libc_do_syscall_args
>
> /* List of system calls which are supported as vsyscalls. */
> # define HAVE_CLOCK_GETTIME_VSYSCALL "__vdso_clock_gettime"
> +# define HAVE_CLOCK_GETTIME64_VSYSCALL "__vdso_clock_gettime64"
> # define HAVE_GETTIMEOFDAY_VSYSCALL "__vdso_gettimeofday"
> # define HAVE_TIME_VSYSCALL "__vdso_time"
> # define HAVE_CLOCK_GETRES_VSYSCALL "__vdso_clock_getres"
>
OK.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
On 18/12/19 3:17 am, Adhemerval Zanella wrote:
> It was added on Linux 5.3 (commit 22ca962288c0a).
>
> Checked on i686-linux-gnu with 5.3.0 kernel.
> ---
> sysdeps/unix/sysv/linux/i386/sysdep.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/sysdeps/unix/sysv/linux/i386/sysdep.h b/sysdeps/unix/sysv/linux/i386/sysdep.h
> index b2e750d490..5156587d95 100644
> --- a/sysdeps/unix/sysv/linux/i386/sysdep.h
> +++ b/sysdeps/unix/sysv/linux/i386/sysdep.h
> @@ -314,6 +314,7 @@ struct libc_do_syscall_args
>
> /* List of system calls which are supported as vsyscalls. */
> # define HAVE_CLOCK_GETTIME_VSYSCALL "__vdso_clock_gettime"
> +# define HAVE_CLOCK_GETTIME64_VSYSCALL "__vdso_clock_gettime64"
> # define HAVE_GETTIMEOFDAY_VSYSCALL "__vdso_gettimeofday"
> # define HAVE_TIME_VSYSCALL "__vdso_time"
> # define HAVE_CLOCK_GETRES_VSYSCALL "__vdso_clock_getres"
>
OK.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
@@ -314,6 +314,7 @@ struct libc_do_syscall_args
/* List of system calls which are supported as vsyscalls. */
# define HAVE_CLOCK_GETTIME_VSYSCALL "__vdso_clock_gettime"
+# define HAVE_CLOCK_GETTIME64_VSYSCALL "__vdso_clock_gettime64"
# define HAVE_GETTIMEOFDAY_VSYSCALL "__vdso_gettimeofday"
# define HAVE_TIME_VSYSCALL "__vdso_time"
# define HAVE_CLOCK_GETRES_VSYSCALL "__vdso_clock_getres"