y2038: make do_gettimeofday() and get_seconds() inline
authorArnd Bergmann <arnd@arndb.de>
Tue, 14 Aug 2018 13:18:20 +0000 (15:18 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 27 Aug 2018 12:45:58 +0000 (14:45 +0200)
commit33e26418193f58d1895f2f968e1953b1caf8deb7
treee8ee35b964d322887f70cf5255fa324b873b2b08
parent976516404ff3fab2a8caa8bd6f5efc1437fed0b8
y2038: make do_gettimeofday() and get_seconds() inline

get_seconds() and do_gettimeofday() are only used by a few modules now any
more (waiting for the respective patches to get accepted), and they are
among the last holdouts of code that is not y2038 safe in the core kernel.

Move the implementation into the timekeeping32.h header to clean up
the core kernel and isolate the old interfaces further.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
include/linux/timekeeping32.h
kernel/time/time.c
kernel/time/timekeeping.c