]> git.baikalelectronics.ru Git - kernel.git/commit
ia64: convert to legacy_timer_tick
authorArnd Bergmann <arnd@arndb.de>
Thu, 24 Sep 2020 13:23:13 +0000 (15:23 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 30 Oct 2020 20:57:04 +0000 (21:57 +0100)
commit61422fdf671ed270584ba1ae39c56ee4eb7d1ece
tree100bed91155b3376d859570ae1dab8132ea33476
parentd428fc6d314bba07cffa5a0dcdda2a1cec0259fb
ia64: convert to legacy_timer_tick

ia64 is the only architecture that calls xtime_update() in a loop,
once for each jiffie that has passed since the last event.

Before commit 6f1aa8f703f2 ("[PATCH] simplify update_times (avoid
jiffies/jiffies_64 aliasing problem)") in 2006, it could not actually do
this any differently, but now it seems simpler to just pass the number
of jiffies that passed in the meantime.

While this loses the ability process interrupts in the middle of
the timer tick by calling local_irq_enable(), doing so is fairly
peculiar anyway and it seems better to just do what everyone
else does here.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/ia64/Kconfig
arch/ia64/kernel/time.c