From: Tim Leslie Subject: Convert last rwsleep call to rwsleep_nsec To: "tech@openbsd.org" Date: Thu, 05 Mar 2026 15:23:29 +0000 Tech, Convert the final rwsleep call in acpi/dsdt.c to rwsleep_nsec using TICKS_TO_NSEC() to match previous behavior. Tim diff --git a/sys/dev/acpi/dsdt.c b/sys/dev/acpi/dsdt.c --- a/sys/dev/acpi/dsdt.c +++ b/sys/dev/acpi/dsdt.c @@ -3065,8 +3065,8 @@ acpi_event_wait(struct aml_scope *scope, struct aml_value *evt, int timeout) if (acpi_dotask(acpi_softc)) continue; if (!cold) { - if (rwsleep(evt, &acpi_softc->sc_lck, PWAIT, - "acpievt", 1) == EWOULDBLOCK) { + if (rwsleep_nsec(evt, &acpi_softc->sc_lck, PWAIT, + "acpievt", TICKS_TO_NSEC(1)) == EWOULDBLOCK) { if (timeout < AML_NO_TIMEOUT) timeout -= (1000 / hz); }