Skip to content

Commit

Permalink
ACPI: ignore FADT reset-reg-sup flag
Browse files Browse the repository at this point in the history
we check that the address is non-zero later anyway.

https://bugzilla.kernel.org/show_bug.cgi?id=11533

Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Len Brown committed Mar 21, 2012
1 parent c16fa4f commit cf45013
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions drivers/acpi/acpica/hwxface.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ acpi_status acpi_reset(void)

/* Check if the reset register is supported */

if (!(acpi_gbl_FADT.flags & ACPI_FADT_RESET_REGISTER) ||
!reset_reg->address) {
if (!reset_reg->address) {
return_ACPI_STATUS(AE_NOT_EXIST);
}

Expand Down
3 changes: 1 addition & 2 deletions drivers/acpi/reboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ void acpi_reboot(void)
/* Is the reset register supported? The spec says we should be
* checking the bit width and bit offset, but Windows ignores
* these fields */
if (!(acpi_gbl_FADT.flags & ACPI_FADT_RESET_REGISTER))
return;
/* Ignore also acpi_gbl_FADT.flags.ACPI_FADT_RESET_REGISTER */

reset_value = acpi_gbl_FADT.reset_value;

Expand Down

0 comments on commit cf45013

Please sign in to comment.