]> git.baikalelectronics.ru Git - kernel.git/commit
timekeeping: add CONFIG_LEGACY_TIMER_TICK
authorArnd Bergmann <arnd@arndb.de>
Thu, 24 Sep 2020 13:21:43 +0000 (15:21 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 30 Oct 2020 20:57:04 +0000 (21:57 +0100)
commit9701182a7b29670ae45c2e72b32f088ff463005a
tree237ecf1236ea097d572c1021d704933def5bbaeb
parente01d60ae1679703e7f3732da4784f45109c30ff9
timekeeping: add CONFIG_LEGACY_TIMER_TICK

All platforms that currently do not use generic clockevents roughly call
the same set of functions in their timer interrupts: xtime_update(),
update_process_times() and profile_tick(), sometimes in a different
sequence.

Add a helper function that performs all three of them, to make the
callers more uniform and simplify the interface.

Reviewed-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/Kconfig
kernel/time/Makefile
kernel/time/tick-legacy.c [new file with mode: 0644]