]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/linux/hrtimer.h
nanosleep: Use get_timespec64() and put_timespec64()
authorDeepa Dinamani <deepa.kernel@gmail.com>
Sat, 24 Jun 2017 18:45:06 +0000 (11:45 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 30 Jun 2017 08:14:14 +0000 (04:14 -0400)
commitc0edd7c9acd0eaee149ab6cb4441cc71a1af87f0
tree9c670f99b106a03963fa9a2bc606617cd0958497
parent5c4994102fb508d4a0f7a8afa46560c314c1ebd4
nanosleep: Use get_timespec64() and put_timespec64()

Usage of these apis and their compat versions makes
the syscalls: clock_nanosleep and nanosleep 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>
include/linux/hrtimer.h
kernel/time/alarmtimer.c
kernel/time/hrtimer.c
kernel/time/posix-cpu-timers.c
kernel/time/posix-timers.c