|
Message-ID: <20160123232933.GZ238@brightrain.aerifal.cx> Date: Sat, 23 Jan 2016 18:29:34 -0500 From: Rich Felker <dalias@...c.org> To: musl@...ts.openwall.com Subject: Re: [PATCH] mips: add vdso support On Sat, Jan 23, 2016 at 09:31:58PM +0100, Hauke Mehrtens wrote: > vdso support is available on mips starting with kernel 4.4, see kernel > commit a7f4df4e21 "MIPS: VDSO: Add implementations of gettimeofday() > and clock_gettime()" for details. > > Signed-off-by: Hauke Mehrtens <hauke@...ke-m.de> > --- > arch/mips/syscall_arch.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/mips/syscall_arch.h b/arch/mips/syscall_arch.h > index e74e0ad..39c0ea3 100644 > --- a/arch/mips/syscall_arch.h > +++ b/arch/mips/syscall_arch.h > @@ -161,3 +161,7 @@ static inline long __syscall6(long n, long a, long b, long c, long d, long e, lo > if (n == SYS_fstatat) __stat_fix(c); > return r2; > } > + > +#define VDSO_USEFUL > +#define VDSO_CGT_SYM "__vdso_clock_gettime" > +#define VDSO_CGT_VER "LINUX_2.6" > -- > 2.7.0.rc3 Nice! Have you tested it on some real hardware with vdso support to confirm that it's working properly? Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.