hppa: switch to clockintr
authorcheloha <cheloha@openbsd.org>
Tue, 6 Dec 2022 00:40:09 +0000 (00:40 +0000)
committercheloha <cheloha@openbsd.org>
Tue, 6 Dec 2022 00:40:09 +0000 (00:40 +0000)
commit4c63d5a8fde783b38668776a2ac0270a41fb0eeb
tree28f4557bd5a1764dd4205a4558bba1bf25612be9
parente7a57e0ab745d1c5f9a47ac241ee3c595298aa50
hppa: switch to clockintr

- Remove hppa-specific clock interrupt scheduling bits from cpu_info.
- Rename cpu_hardclock() to itmr_intr(); it doesn't exclusively run
  hardclock(9) anymore.
- Wire up itmr_intrclock.

hppa now has a randomized statclock(), stathz = hz.

Patch help, testing, and review from kettenis@ (B2000) and miod@ (C3650).
MP testing from guenther@ (dual-core J6700).

ok mlarkin@ kettenis@, "Ship it?" guenther@
sys/arch/hppa/dev/clock.c
sys/arch/hppa/dev/cpu.c
sys/arch/hppa/include/_types.h
sys/arch/hppa/include/cpu.h