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.
This commit is contained in:
parent
68d86cf1e2
commit
5539804740
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121239
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user