[13/16] linux: Enable vDSO clock_gettime64 for arm

Message ID 20191217214728.2886-13-adhemerval.zanella@linaro.org
State Dropped
Headers

Commit Message

Adhemerval Zanella Dec. 17, 2019, 9:47 p.m. UTC
  It was added on Linux 5.5 (commit 74d06efb9c2f9).
---
 sysdeps/unix/sysv/linux/arm/sysdep.h | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Siddhesh Poyarekar Jan. 2, 2020, 1:08 p.m. UTC | #1
On 18/12/19 3:17 am, Adhemerval Zanella wrote:
> It was added on Linux 5.5 (commit 74d06efb9c2f9).
> ---
>  sysdeps/unix/sysv/linux/arm/sysdep.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/sysdeps/unix/sysv/linux/arm/sysdep.h b/sysdeps/unix/sysv/linux/arm/sysdep.h
> index e9e022e037..b5ef17d1a8 100644
> --- a/sysdeps/unix/sysv/linux/arm/sysdep.h
> +++ b/sysdeps/unix/sysv/linux/arm/sysdep.h
> @@ -393,6 +393,7 @@ __local_syscall_error:						\
>  
>  /* 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 LOAD_ARGS_0()
> 

OK.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
  

Patch

diff --git a/sysdeps/unix/sysv/linux/arm/sysdep.h b/sysdeps/unix/sysv/linux/arm/sysdep.h
index e9e022e037..b5ef17d1a8 100644
--- a/sysdeps/unix/sysv/linux/arm/sysdep.h
+++ b/sysdeps/unix/sysv/linux/arm/sysdep.h
@@ -393,6 +393,7 @@  __local_syscall_error:						\
 
 /* 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 LOAD_ARGS_0()