diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-09-24 17:39:11 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2020-10-30 21:57:07 +0100 |
commit | 56cc7b8acfb7c763f71c0492fa8da01dca7c1760 (patch) | |
tree | 2878141fb8f8ce64cd8df599f105a5ff00993cec /kernel/time/timekeeping.h | |
parent | m68k: remove timer_interrupt() function (diff) | |
download | linux-56cc7b8acfb7c763f71c0492fa8da01dca7c1760.tar.xz linux-56cc7b8acfb7c763f71c0492fa8da01dca7c1760.zip |
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>
Diffstat (limited to 'kernel/time/timekeeping.h')
-rw-r--r-- | kernel/time/timekeeping.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/time/timekeeping.h b/kernel/time/timekeeping.h index 099737f6f10c..d94b69c5b869 100644 --- a/kernel/time/timekeeping.h +++ b/kernel/time/timekeeping.h @@ -22,6 +22,7 @@ static inline int sched_clock_suspend(void) { return 0; } static inline void sched_clock_resume(void) { } #endif +extern void update_process_times(int user); extern void do_timer(unsigned long ticks); extern void update_wall_time(void); |