]> 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)
commit2b49ddcef2972e89922da9080809a9c1c82f9ecc
tree100bed91155b3376d859570ae1dab8132ea33476
parentb3550164a19d62e515af6cacb5a31f0b2b3f9501
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 3171a0305d62 ("[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