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:
Jung-uk Kim 2012-03-19 21:47:50 +00:00
parent 2c7879ea84
commit 06c0cd16ad

View File

@ -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);