[RFC,v3,11/23] RISC-V: define __vdso_clock_getres as __vdso_clock_getres_time64 for 32-bit
diff mbox series

Message ID 3670feac14e3a144c1adf55bdfed8d193aa926c6.1563321715.git.alistair.francis@wdc.com
State New
Headers show
Series
  • [RFC,v3,01/23] sysdeps/nanosleep: Use clock_nanosleep_time64 if avaliable
Related show

Commit Message

Alistair Francis July 17, 2019, 12:09 a.m. UTC
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
---
 sysdeps/unix/sysv/linux/riscv/sysdep.h | 4 ++++
 1 file changed, 4 insertions(+)

Patch
diff mbox series

diff --git a/sysdeps/unix/sysv/linux/riscv/sysdep.h b/sysdeps/unix/sysv/linux/riscv/sysdep.h
index 9e07edfed3..e66e9f032a 100644
--- a/sysdeps/unix/sysv/linux/riscv/sysdep.h
+++ b/sysdeps/unix/sysv/linux/riscv/sysdep.h
@@ -167,6 +167,10 @@ 
 # ifndef __NR_clock_getres
 #  define __NR_clock_getres __NR_clock_getres_time64
 # endif
+
+# ifndef __vdso_clock_getres
+#  define __vdso_clock_getres __vdso_clock_getres_time64
+# endif
 #endif /* __riscv_xlen == 32 */
 
 #undef SYS_ify