diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-06-06 03:29:36 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-06-06 03:29:36 -0400 |
commit | 9ce2860fa34ede8f84b8ca5ac1746a58b171a023 (patch) | |
tree | f2c6ebaf18b64fbf311a8a2f73be8ff064196df5 /arch | |
parent | 60158bff74e478a8031f618ea5e0546bf41a3523 (diff) | |
download | musl-9ce2860fa34ede8f84b8ca5ac1746a58b171a023.tar.gz musl-9ce2860fa34ede8f84b8ca5ac1746a58b171a023.tar.xz musl-9ce2860fa34ede8f84b8ca5ac1746a58b171a023.zip |
add vdso clock_gettime acceleration support to i386
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/syscall_arch.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/i386/syscall_arch.h b/arch/i386/syscall_arch.h index 838d0a24..a4efae90 100644 --- 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" |