riscv64: initialize stathz, profhz like other platforms do
authorcheloha <cheloha@openbsd.org>
Fri, 27 Jan 2023 15:37:16 +0000 (15:37 +0000)
committercheloha <cheloha@openbsd.org>
Fri, 27 Jan 2023 15:37:16 +0000 (15:37 +0000)
commit5306634dc593786510f2860182776be737cd5cee
treec20851d42d91bed7d3e0c149759fd4eba934b3a1
parent133c13f5fe676c2db00b05fd990808e9cafac418
riscv64: initialize stathz, profhz like other platforms do

Don't hardcode 100 and 1000.  Use hz(9) for stathz, compute profhz
using stathz, just like most other platforms.

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