aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/sun3/sun3ints.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-09-24 16:40:58 +0200
committerArnd Bergmann <arnd@arndb.de>2020-10-30 21:57:06 +0100
commit4a1c287aabba8b3a8efbfb2381d95c38470ed171 (patch)
treedb04e38bf3cbb0ee3a85b16316b601aa292a1959 /arch/m68k/sun3/sun3ints.c
parentm68k: split heartbeat out of timer function (diff)
downloadlinux-dev-4a1c287aabba8b3a8efbfb2381d95c38470ed171.tar.xz
linux-dev-4a1c287aabba8b3a8efbfb2381d95c38470ed171.zip
m68k: sun3/sun3c: use legacy_timer_tick
These two are different from all other machines: * sun3 does not call timer_routine() but open-codes it except for the profile_tick() call that appears to be unintentionally missing. * sun3x has a commented-out timer irq handler but no functional timer tick I could find. Change both to calling the new legacy_timer_tick here, which includes the call to profile_tick() but does not fix sun3x as that is still commented out. Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-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 'arch/m68k/sun3/sun3ints.c')
-rw-r--r--arch/m68k/sun3/sun3ints.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/m68k/sun3/sun3ints.c b/arch/m68k/sun3/sun3ints.c
index a5824abb4a39..41ae422119d3 100644
--- a/arch/m68k/sun3/sun3ints.c
+++ b/arch/m68k/sun3/sun3ints.c
@@ -73,8 +73,7 @@ static irqreturn_t sun3_int5(int irq, void *dev_id)
#ifdef CONFIG_SUN3
intersil_clear();
#endif
- xtime_update(1);
- update_process_times(user_mode(get_irq_regs()));
+ legacy_timer_tick(1);
cnt = kstat_irqs_cpu(irq, 0);
if (!(cnt % 20))
sun3_leds(led_pattern[cnt % 160 / 20]);