powerpc64: initialize stathz, profhz as on other platforms
authorcheloha <cheloha@openbsd.org>
Fri, 27 Jan 2023 22:14:43 +0000 (22:14 +0000)
committercheloha <cheloha@openbsd.org>
Fri, 27 Jan 2023 22:14:43 +0000 (22:14 +0000)
commit4cd354c5663fb2920aedfa94b325562702286437
treecba0c341c4784b29bf8925a4ee1e40a51054c598
parentdc2b4858ba26f04fdb413a66ad25635c2bfbe14f
powerpc64: 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/powerpc64/powerpc64/clock.c