From 97554e4382e5d85eccf146b58f85aaad7e3d687c Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 17 Apr 2015 11:48:51 -0300 Subject: Consolidate gettimeofday across aarch64/s390/tile This patch removes the architecture specific gettimeofday implementation to use the vDSO symbol and consolidate it on a common Linux one. Similar to clock_gettime and clock_getres vDSO implementation, each port that supports gettimeofday through vDSO should just implement INLINE_VSYSCALL to access the symbol and define HAVE_{GETTIME,GETRES}_VSYSCAL as 1. --- sysdeps/unix/sysv/linux/powerpc/init-first.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'sysdeps/unix/sysv/linux/powerpc/init-first.c') diff --git a/sysdeps/unix/sysv/linux/powerpc/init-first.c b/sysdeps/unix/sysv/linux/powerpc/init-first.c index ee91c0bf9e..287e84459a 100644 --- a/sysdeps/unix/sysv/linux/powerpc/init-first.c +++ b/sysdeps/unix/sysv/linux/powerpc/init-first.c @@ -18,9 +18,6 @@ #ifdef SHARED # include -# undef __gettimeofday -# undef __clock_gettime -# undef __clock_getres # include int (*VDSO_SYMBOL(gettimeofday)) (struct timeval *, void *) -- cgit 1.4.1