arm: add vdso support
authorSzabolcs Nagy <nsz@port70.net>
Wed, 3 Jun 2015 09:32:14 +0000 (10:32 +0100)
committerRich Felker <dalias@aerifal.cx>
Sun, 14 Jun 2015 04:23:20 +0000 (04:23 +0000)
vdso will be available on arm in linux v4.2, the user-space code
for it is in kernel commit 8512287a8165592466cb9cb347ba94892e9c56a5

arch/arm/syscall_arch.h

index 199ad2a..64461ec 100644 (file)
@@ -72,3 +72,7 @@ static inline long __syscall6(long n, long a, long b, long c, long d, long e, lo
        register long r5 __asm__("r5") = f;
        __asm_syscall("r"(r7), "0"(r0), "r"(r1), "r"(r2), "r"(r3), "r"(r4), "r"(r5));
 }
+
+#define VDSO_USEFUL
+#define VDSO_CGT_SYM "__vdso_clock_gettime"
+#define VDSO_CGT_VER "LINUX_2.6"