[PATCH 16/27] arm64: compat: Add vDSO
From: arnd@arndb.de (Arnd Bergmann)
Date: 2018-11-09 16:23:45
Also in:
linux-arch
From: arnd@arndb.de (Arnd Bergmann)
Date: 2018-11-09 16:23:45
Also in:
linux-arch
On Fri, Nov 9, 2018 at 1:38 PM Vincenzo Frascino [off-list ref] wrote:
+ +static __always_inline notrace int gettimeofday_fallback(struct timeval *_tv, + struct timezone *_tz)
Corresponding to what I said about the native syscalls, this should eventually use 'old_timeval32' here.
+static __always_inline notrace long clock_gettime_fallback(clockid_t _clkid, + struct timespec *_ts)
and 'old_timespec32' here.
We could do those changes as a follow-up, but since you change that code
already, we could just as well do it now.
Then there is the question about the replacement. I don't see a need for
64-bit versions of time, gettimeofday or clock_getres, but we definitely want
a new clock_gettime. This probably has to wait until we have assigned a
syscall number (for the fallback implementation), just mentioning it now
so we keep it in mind.
Arnd