diff options
| author | Nate Lawson <njl@FreeBSD.org> | 2003-09-08 06:22:54 +0000 |
|---|---|---|
| committer | Nate Lawson <njl@FreeBSD.org> | 2003-09-08 06:22:54 +0000 |
| commit | bf10d4f8c4fb8f4d28ce1912e36375eee92a3014 (patch) | |
| tree | 0d33d3d782f9aff917642610fde97c11bbd01df3 /sys | |
| parent | 03be99d20cc663670cb51ade16266ca770f1f0ae (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/i386/acpica/acpi_wakeup.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/i386/acpica/acpi_wakeup.c b/sys/i386/acpica/acpi_wakeup.c index 106df5561034..00242870e18b 100644 --- a/sys/i386/acpica/acpi_wakeup.c +++ b/sys/i386/acpica/acpi_wakeup.c @@ -199,7 +199,7 @@ acpi_sleep_machdep(struct acpi_softc *sc, int state) AcpiSetFirmwareWakingVector(sc->acpi_wakephys); ef = read_eflags(); - disable_intr(); + ACPI_DISABLE_IRQS(); /* Create Identity Mapping */ if ((p = curproc) == NULL) @@ -254,13 +254,10 @@ acpi_sleep_machdep(struct acpi_softc *sc, int state) acpi_printcpu(); /* Call ACPICA to enter the desired sleep state */ - ACPI_DISABLE_IRQS(); - ACPI_FLUSH_CPU_CACHE(); if (state == ACPI_STATE_S4 && sc->acpi_s4bios) status = AcpiEnterSleepStateS4bios(); else status = AcpiEnterSleepState(state); - ACPI_ENABLE_IRQS(); if (status != AE_OK) { device_printf(sc->acpi_dev, |
