timekeeping: remove xtime_update
authorArnd Bergmann <arnd@arndb.de>
Thu, 24 Sep 2020 15:39:11 +0000 (17:39 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 30 Oct 2020 20:57:07 +0000 (21:57 +0100)
commit56cc7b8acfb7c763f71c0492fa8da01dca7c1760
tree2878141fb8f8ce64cd8df599f105a5ff00993cec
parentf9a015391e8908e68bd3147a8a5d8ac5f3ea2126
timekeeping: remove xtime_update

There are no more users of xtime_update aside from legacy_timer_tick(),
so fold it into that function and remove the declaration.

update_process_times() is now only called inside of the kernel/time/
code, so the declaration can be moved there.

Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
include/linux/timekeeping.h
kernel/time/tick-legacy.c
kernel/time/timekeeping.c
kernel/time/timekeeping.h