diff options
| author | Mitsuru IWASAKI <iwasaki@FreeBSD.org> | 2002-06-30 17:53:12 +0000 |
|---|---|---|
| committer | Mitsuru IWASAKI <iwasaki@FreeBSD.org> | 2002-06-30 17:53:12 +0000 |
| commit | 74fc979a09c48d31eb078e914207812ff7f1978f (patch) | |
| tree | e90efa2f0b6a55e4114028b09fc286948d8516ea /sys/dev | |
| parent | 733e46c4742da55eedf74f17a009720aba269fba (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/acpica/acpica_support.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/acpica/acpica_support.c b/sys/dev/acpica/acpica_support.c index 749edbddad7ac..f0ab3a1275522 100644 --- a/sys/dev/acpica/acpica_support.c +++ b/sys/dev/acpica/acpica_support.c @@ -79,15 +79,13 @@ AcpiEnterSleepStateS4Bios ( AcpiHwBitRegisterWrite (ACPI_BITREG_WAKE_STATUS, 1, ACPI_MTX_LOCK); - acpi_disable_irqs (); + ACPI_DISABLE_IRQS (); AcpiHwDisableNonWakeupGpes(); /* flush caches */ -#ifdef __i386__ - wbinvd(); -#endif + ACPI_FLUSH_CPU_CACHE (); /* write the value to command port and wait until we enter sleep state */ do @@ -99,7 +97,7 @@ AcpiEnterSleepStateS4Bios ( AcpiHwEnableNonWakeupGpes(); - acpi_enable_irqs (); + ACPI_ENABLE_IRQS (); return_ACPI_STATUS (AE_OK); } |
