Fix a witness panic introduced in r231797.
Reported by: bschmidt Reviewed by: jhb Pointy hat to: jkim MFC after: 3 days
This commit is contained in:
parent
2c7879ea84
commit
06c0cd16ad
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user