From e7919e0db28837ae5e4315933a061a7c2eda442e Mon Sep 17 00:00:00 2001 From: Evan Green Date: Tue, 27 Feb 2024 14:56:39 -0800 Subject: riscv: Add hwprobe vdso call support The new riscv_hwprobe syscall also comes with a vDSO for faster answers to your most common questions. Call in today to speak with a kernel representative near you! Signed-off-by: Evan Green Signed-off-by: Palmer Dabbelt --- sysdeps/unix/sysv/linux/riscv/sysdep.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sysdeps/unix/sysv/linux/riscv/sysdep.h') diff --git a/sysdeps/unix/sysv/linux/riscv/sysdep.h b/sysdeps/unix/sysv/linux/riscv/sysdep.h index 5583b96d23..ee015dfeb6 100644 --- a/sysdeps/unix/sysv/linux/riscv/sysdep.h +++ b/sysdeps/unix/sysv/linux/riscv/sysdep.h @@ -156,6 +156,7 @@ /* List of system calls which are supported as vsyscalls (for RV32 and RV64). */ # define HAVE_GETCPU_VSYSCALL "__vdso_getcpu" +# define HAVE_RISCV_HWPROBE "__vdso_riscv_hwprobe" # undef HAVE_INTERNAL_BRK_ADDR_SYMBOL # define HAVE_INTERNAL_BRK_ADDR_SYMBOL 1 -- cgit 1.4.1