diff options
author | Len Brown <len.brown@intel.com> | 2011-07-31 19:23:49 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-03-21 05:46:39 +0100 |
commit | cf450136bfde77c7f95065c91bffded4aa7fa731 (patch) | |
tree | 4776fe98f6f541c8b8a064198a35da2443d29f2a /drivers/acpi | |
parent | Linux 3.3 (diff) | |
download | linux-cf450136bfde77c7f95065c91bffded4aa7fa731.tar.xz linux-cf450136bfde77c7f95065c91bffded4aa7fa731.zip |
ACPI: ignore FADT reset-reg-sup flag
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/acpica/hwxface.c | 3 | ||||
-rw-r--r-- | drivers/acpi/reboot.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/acpi/acpica/hwxface.c b/drivers/acpi/acpica/hwxface.c index 9d38eb6c0d0b..fe1fb6366aa8 100644 --- a/drivers/acpi/acpica/hwxface.c +++ b/drivers/acpi/acpica/hwxface.c @@ -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); } diff --git a/drivers/acpi/reboot.c b/drivers/acpi/reboot.c index a6c77e8b37bd..c1d612435939 100644 --- a/drivers/acpi/reboot.c +++ b/drivers/acpi/reboot.c @@ -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; |