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:
60158bf
)
add vdso clock_gettime acceleration support to i386
author
Rich Felker
<dalias@aerifal.cx>
Fri, 6 Jun 2014 07:29:36 +0000
(
03:29
-0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 6 Jun 2014 07:29:36 +0000
(
03:29
-0400)
arch/i386/syscall_arch.h
patch
|
blob
|
history
diff --git
a/arch/i386/syscall_arch.h
b/arch/i386/syscall_arch.h
index 838d0a247155d8e3744d8dbb2f41d0ab667e5637..a4efae90acf1de16d3e05d10abb81a0521129021 100644
(file)
--- a/
arch/i386/syscall_arch.h
+++ b/
arch/i386/syscall_arch.h
@@
-51,3
+51,7
@@
static inline long __syscall6(long n, long a1, long a2, long a3, long a4, long a
__asm__ __volatile__ ("push %6 ; call __vsyscall6 ; add $4,%%esp" : "=a"(__ret) : "a"(n), "d"(a1), "c"(a2), "D"(a3), "S"(a4), "g"(0+(long[]){a5, a6}) : "memory");
return __ret;
}
+
+#define VDSO_USEFUL
+#define VDSO_CGT_SYM "__vdso_clock_gettime"
+#define VDSO_CGT_VER "LINUX_2.6"