Call AcpiSetFirmwareWakingVector() with interrupt disabled for consistency.

This commit is contained in:
Jung-uk Kim 2012-06-01 18:18:48 +00:00
parent ffc06c80d8
commit 108705d043
2 changed files with 4 additions and 4 deletions

View File

@ -310,10 +310,10 @@ acpi_wakeup_machdep(struct acpi_softc *sc, int state, int sleep_result,
#endif
mca_resume();
intr_resume();
AcpiSetFirmwareWakingVector(0);
} else {
/* Wakeup MD procedures in interrupt enabled context */
AcpiSetFirmwareWakingVector(0);
if (sleep_result == 1 && mem_range_softc.mr_op != NULL &&
mem_range_softc.mr_op->reinit != NULL)
mem_range_softc.mr_op->reinit(&mem_range_softc);

View File

@ -296,10 +296,10 @@ acpi_wakeup_machdep(struct acpi_softc *sc, int state, int sleep_result,
#endif
mca_resume();
intr_resume();
AcpiSetFirmwareWakingVector(0);
} else {
/* Wakeup MD procedures in interrupt enabled context */
AcpiSetFirmwareWakingVector(0);
if (sleep_result == 1 && mem_range_softc.mr_op != NULL &&
mem_range_softc.mr_op->reinit != NULL)
mem_range_softc.mr_op->reinit(&mem_range_softc);