about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorgns <infiwang@proton.me>2024-01-25 23:59:52 +0800
committerRich Felker <dalias@aerifal.cx>2024-02-03 19:49:42 -0500
commitbd3138b74a06dd764508f399d1b58cb9d6c35c1f (patch)
tree27ad47e955ba64e7b421416f4814c7f241381c4f /src
parent15aa7abd344745675f2df3eb5ea09fa36cfecfa4 (diff)
downloadmusl-bd3138b74a06dd764508f399d1b58cb9d6c35c1f.tar.gz
musl-bd3138b74a06dd764508f399d1b58cb9d6c35c1f.tar.xz
musl-bd3138b74a06dd764508f399d1b58cb9d6c35c1f.zip
riscv: correct symbol version of __vdso_flush_icache
Previously, __riscv_flush_icache would not work correctly as
__vdso_flush_icache had a wrong symbol version. Fix this by correcting
symbol version.

Fixes: 0a48860c27a8 ("add riscv64 architecture support")
Diffstat (limited to 'src')
-rw-r--r--src/linux/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/cache.c b/src/linux/cache.c
index 0eb051c2..45024309 100644
--- a/src/linux/cache.c
+++ b/src/linux/cache.c
@@ -21,7 +21,7 @@ weak_alias(__cachectl, cachectl);
 #ifdef SYS_riscv_flush_icache
 
 #define VDSO_FLUSH_ICACHE_SYM "__vdso_flush_icache"
-#define VDSO_FLUSH_ICACHE_VER "LINUX_4.5"
+#define VDSO_FLUSH_ICACHE_VER "LINUX_4.15"
 
 static void *volatile vdso_func;