wire up vdso clock_gettime for riscv32 and riscv64

This commit is contained in:
Rich Felker 2024-10-22 19:16:42 -04:00
parent f2375aacac
commit 9b6a24f9c5
2 changed files with 2 additions and 4 deletions

View File

@ -73,8 +73,7 @@ static inline long __syscall6(long n, long a, long b, long c, long d, long e, lo
}
#define VDSO_USEFUL
/* We don't have a clock_gettime function.
#define VDSO_CGT_SYM "__vdso_clock_gettime"
#define VDSO_CGT_VER "LINUX_2.6" */
#define VDSO_CGT_VER "LINUX_4.15"
#define IPC_64 0

View File

@ -71,8 +71,7 @@ static inline long __syscall6(long n, long a, long b, long c, long d, long e, lo
}
#define VDSO_USEFUL
/* We don't have a clock_gettime function.
#define VDSO_CGT_SYM "__vdso_clock_gettime"
#define VDSO_CGT_VER "LINUX_2.6" */
#define VDSO_CGT_VER "LINUX_4.15"
#define IPC_64 0