summaryrefslogtreecommitdiff
path: root/arch/s390x/syscall_arch.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2024-10-22 19:11:24 -0400
committerRich Felker <dalias@aerifal.cx>2024-10-22 19:11:24 -0400
commitf2375aacac13848cb407dfa39bd06eef576d5f2a (patch)
treecd1162c1ef90bf2b10b9b0826e1ed43bd06da3c2 /arch/s390x/syscall_arch.h
parentbc5f816a7a4038255ac55e47ae6c5ef13acb8a85 (diff)
downloadmusl-f2375aacac13848cb407dfa39bd06eef576d5f2a.tar.gz
wire up vdso clock_gettime for powerpc, powerpc64, and s390x
symbol names and versions obtained from vdso(7) man page.
Diffstat (limited to 'arch/s390x/syscall_arch.h')
-rw-r--r--arch/s390x/syscall_arch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390x/syscall_arch.h b/arch/s390x/syscall_arch.h
index 83cc9a27..d1cfd2e8 100644
--- a/arch/s390x/syscall_arch.h
+++ b/arch/s390x/syscall_arch.h
@@ -72,3 +72,7 @@ static inline long __syscall6(long n, long a, long b, long c, long d, long e, lo
register long r7 __asm__("r7") = f;
__asm_syscall("+r"(r2), "r"(r1), "r"(r3), "r"(r4), "r"(r5), "r"(r6), "r"(r7));
}
+
+#define VDSO_USEFUL
+#define VDSO_CGT_SYM "__kernel_clock_gettime"
+#define VDSO_CGT_VER "LINUX_2.6.29"