From: Rich Felker Date: Fri, 6 Jun 2014 07:29:36 +0000 (-0400) Subject: add vdso clock_gettime acceleration support to i386 X-Git-Tag: v1.1.2~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9ce2860fa34ede8f84b8ca5ac1746a58b171a023;p=oweals%2Fmusl.git add vdso clock_gettime acceleration support to i386 --- 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"