posix-timers: Use get_timespec64() and put_timespec64()
authorDeepa Dinamani <deepa.kernel@gmail.com>
Sat, 24 Jun 2017 18:45:05 +0000 (11:45 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 30 Jun 2017 08:13:19 +0000 (04:13 -0400)
commit5c4994102fb508d4a0f7a8afa46560c314c1ebd4
treea82ce353eed5c4455638390b6bffe7b7182a87f0
parent63a766a1780f9581e8885bdb64270a594a84f81a
posix-timers: Use get_timespec64() and put_timespec64()

Usage of these apis and their compat versions makes
the syscalls: clock_gettime, clock_settime, clock_getres
and their compat implementations simpler.

This is a preparatory patch to isolate data conversions to
struct timespec64 at userspace boundaries. This helps contain
the changes needed to transition to new y2038 safe types.

Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/time/posix-stubs.c
kernel/time/posix-timers.c