m68k: sun3/sun3c: use legacy_timer_tick
authorArnd Bergmann <arnd@arndb.de>
Thu, 24 Sep 2020 14:40:58 +0000 (16:40 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 30 Oct 2020 20:57:06 +0000 (21:57 +0100)
commit4a1c287aabba8b3a8efbfb2381d95c38470ed171
treedb04e38bf3cbb0ee3a85b16316b601aa292a1959
parentd6444094042b4f4b4623dc1a2437f61309b9b34b
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>
arch/m68k/Kconfig.machine
arch/m68k/sun3/sun3ints.c
arch/m68k/sun3x/time.c