diff options
author | Evan Green <evan@rivosinc.com> | 2024-02-27 14:56:39 -0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-03-01 07:14:57 -0800 |
commit | e7919e0db28837ae5e4315933a061a7c2eda442e (patch) | |
tree | bb20cb963ffaebd3a4cb5e7960eb78e6e7127a26 /sysdeps/unix/sysv/linux/dl-vdso-setup.h | |
parent | c6c33339b45281590f9db138ba6c9d79acb1da27 (diff) | |
download | glibc-e7919e0db28837ae5e4315933a061a7c2eda442e.tar.gz glibc-e7919e0db28837ae5e4315933a061a7c2eda442e.tar.xz glibc-e7919e0db28837ae5e4315933a061a7c2eda442e.zip |
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 <evan@rivosinc.com> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/dl-vdso-setup.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/dl-vdso-setup.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/dl-vdso-setup.h b/sysdeps/unix/sysv/linux/dl-vdso-setup.h index e87d886940..8aee5a8212 100644 --- a/sysdeps/unix/sysv/linux/dl-vdso-setup.h +++ b/sysdeps/unix/sysv/linux/dl-vdso-setup.h @@ -47,6 +47,9 @@ setup_vdso_pointers (void) #ifdef HAVE_GET_TBFREQ GLRO(dl_vdso_get_tbfreq) = dl_vdso_vsym (HAVE_GET_TBFREQ); #endif +#ifdef HAVE_RISCV_HWPROBE + GLRO(dl_vdso_riscv_hwprobe) = dl_vdso_vsym (HAVE_RISCV_HWPROBE); +#endif } #endif |