diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-09-24 15:23:13 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2020-10-30 21:57:04 +0100 |
commit | 2b49ddcef2972e89922da9080809a9c1c82f9ecc (patch) | |
tree | 100bed91155b3376d859570ae1dab8132ea33476 /arch/ia64/Kconfig | |
parent | timekeeping: add CONFIG_LEGACY_TIMER_TICK (diff) | |
download | linux-2b49ddcef2972e89922da9080809a9c1c82f9ecc.tar.xz linux-2b49ddcef2972e89922da9080809a9c1c82f9ecc.zip |
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>
Diffstat (limited to 'arch/ia64/Kconfig')
-rw-r--r-- | arch/ia64/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 39b25a5a591b..db8c2a365b70 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig @@ -46,6 +46,7 @@ config IA64 select ARCH_THREAD_STACK_ALLOCATOR select ARCH_CLOCKSOURCE_DATA select GENERIC_TIME_VSYSCALL + select LEGACY_TIMER_TICK select SWIOTLB select SYSCTL_ARCH_UNALIGN_NO_WARN select HAVE_MOD_ARCH_SPECIFIC |