diff --git a/sys/amd64/acpica/acpi_wakeup.c b/sys/amd64/acpica/acpi_wakeup.c index ec61ed986862..44ed98070714 100644 --- a/sys/amd64/acpica/acpi_wakeup.c +++ b/sys/amd64/acpica/acpi_wakeup.c @@ -241,8 +241,8 @@ acpi_sleep_machdep(struct acpi_softc *sc, int state) AcpiSetFirmwareWakingVector(WAKECODE_PADDR(sc)); - spinlock_enter(); intr_suspend(); + spinlock_enter(); if (savectx(susppcbs[0])) { ctx_fpusave(suspfpusave[0]); @@ -299,8 +299,8 @@ acpi_sleep_machdep(struct acpi_softc *sc, int state) #endif mca_resume(); - intr_resume(); spinlock_exit(); + intr_resume(); AcpiSetFirmwareWakingVector(0);