macppc: initialize stathz, profhz as on other platforms
authorcheloha <cheloha@openbsd.org>
Fri, 27 Jan 2023 22:13:48 +0000 (22:13 +0000)
committercheloha <cheloha@openbsd.org>
Fri, 27 Jan 2023 22:13:48 +0000 (22:13 +0000)
commitdc2b4858ba26f04fdb413a66ad25635c2bfbe14f
tree7855a768daf2175b76b998538dc070df11f2573f
parent726716d7e273d44f96f6ace1e24c71b221aea168
macppc: initialize stathz, profhz as on other platforms

Don't hardcode stathz to 100 and profhz to 1000.  Instead, set stathz
to hz and profhz to (stathz * 10).  This is what we do on most other
platforms.

Link: https://marc.info/?l=openbsd-tech&m=167479021815637&w=2
ok kettenis@
sys/arch/macppc/macppc/clock.c