acpihpet(4): don't truncate HPET frequency to 32-bit value
authorcheloha <cheloha@openbsd.org>
Thu, 25 Aug 2022 18:01:54 +0000 (18:01 +0000)
committercheloha <cheloha@openbsd.org>
Thu, 25 Aug 2022 18:01:54 +0000 (18:01 +0000)
commit55cc037395349ceed2ce844c34e8f18f32cecb5a
treeb51ab9fc46b1566f9b73911c37960be9e7add2dc
parent7de1614a8456d310feda61b8079c4a7d93d948a2
acpihpet(4): don't truncate HPET frequency to 32-bit value

timecounter.tc_frequency is a 64-bit value: this cast is unnecessary.

Split off from the acpihpet_delay() commit at jsg@'s suggestion.

Link1: https://marc.info/?l=openbsd-tech&m=166053729104923&w=2
Link2: https://marc.info/?l=openbsd-tech&m=166132727120528&w=2

probably ok jsg@
sys/dev/acpi/acpihpet.c