From 9ce2860fa34ede8f84b8ca5ac1746a58b171a023 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 6 Jun 2014 03:29:36 -0400 Subject: [PATCH] add vdso clock_gettime acceleration support to i386 --- arch/i386/syscall_arch.h | 4 ++++ 1 file changed, 4 insertions(+) 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" -- 2.25.1