diff options
author | njl <njl@FreeBSD.org> | 2003-10-19 05:56:59 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2003-10-19 05:56:59 +0000 |
commit | 432ff6a541ddcb39a424fba7a499bd02a8e2eb19 (patch) | |
tree | 6a10c8a18de2f76d156c5fc411740bb2b5106630 /sys | |
parent | 7b3a8f1308890767d5506a021e706e78732e95d4 (diff) | |
download | FreeBSD-src-432ff6a541ddcb39a424fba7a499bd02a8e2eb19.zip FreeBSD-src-432ff6a541ddcb39a424fba7a499bd02a8e2eb19.tar.gz |
Disable irqs before entering the power-off state. This is not known
to fix any problems but is similar to how Linux implements this
function.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/acpica/acpi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index c1e1f752..43dca2a 100644 --- a/sys/dev/acpica/acpi.c +++ b/sys/dev/acpica/acpi.c @@ -1010,6 +1010,7 @@ acpi_shutdown_final(void *arg, int howto) AcpiFormatException(status)); return; } + ACPI_DISABLE_IRQS(); status = AcpiEnterSleepState(acpi_off_state); if (ACPI_FAILURE(status)) { printf("ACPI power-off failed - %s\n", AcpiFormatException(status)); |