projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3bc22f
)
arm: add vdso support
author
Szabolcs Nagy
<nsz@port70.net>
Wed, 3 Jun 2015 09:32:14 +0000
(10:32 +0100)
committer
Rich 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
patch
|
blob
|
history
diff --git
a/arch/arm/syscall_arch.h
b/arch/arm/syscall_arch.h
index 199ad2a6e7183a2432be2fe17fc0b2d5090ab032..64461ec8f5f819770584e07dfbe4a5a165bd3b83 100644
(file)
--- a/
arch/arm/syscall_arch.h
+++ b/
arch/arm/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 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"