powerpc, macppc: switch to clockintr
authorcheloha <cheloha@openbsd.org>
Tue, 29 Nov 2022 00:58:05 +0000 (00:58 +0000)
committercheloha <cheloha@openbsd.org>
Tue, 29 Nov 2022 00:58:05 +0000 (00:58 +0000)
commit9d06d93cdcec29b480c5d9140c5b936db1b962be
tree4adc0bd10e0839ee8a5a28c703fa6246dc1ed71a
parent0f802dc5694aa9b6be0c465a1fcbf360154df140
powerpc, macppc: switch to clockintr

- Remove powerpc-specific clock interrupt scheduling bits from cpu_info.
- Remove macppc-specific randomized statclock() bits from macppc/clock.c.
- Remove the 'stat_count' evcount.  All clock interrupts are now counted
  via the 'clock_count' evcount.
- Wire up dec_intrclock.

Bringup help from gkoehler@.  The patch has survived five or six
kernel-release-upgrade cycles on my dual-core PowerMac3,6.

Link: https://marc.info/?l=openbsd-tech&m=166776385003520&w=2
ok gkoehler@ mlarkin@
sys/arch/macppc/macppc/clock.c
sys/arch/powerpc/include/_types.h
sys/arch/powerpc/include/cpu.h