Download raw body.
Convert last rwsleep call to rwsleep_nsec
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);
}
Convert last rwsleep call to rwsleep_nsec