timex: change syscalls to use struct __kernel_timex
authorDeepa Dinamani <deepa.kernel@gmail.com>
Tue, 3 Jul 2018 05:44:22 +0000 (22:44 -0700)
committerArnd Bergmann <arnd@arndb.de>
Wed, 6 Feb 2019 23:13:27 +0000 (00:13 +0100)
commit3876ced476c8ec17265d1739467e726ada88b660
tree222617f692589b6362731cb248831db89c75f1cf
parentead25417f82ed7f8a21da4dcefc768169f7da884
timex: change syscalls to use struct __kernel_timex

struct timex is not y2038 safe.
Switch all the syscall apis to use y2038 safe __kernel_timex.

Note that sys_adjtimex() does not have a y2038 safe solution.  C libraries
can implement it by calling clock_adjtime(CLOCK_REALTIME, ...).

Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
include/linux/syscalls.h
kernel/time/posix-timers.c
kernel/time/time.c