summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/reboot.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2011-07-31 13:23:49 -0400
committerLen Brown <len.brown@intel.com>2012-03-21 00:46:39 -0400
commitcf450136bfde77c7f95065c91bffded4aa7fa731 (patch)
tree4776fe98f6f541c8b8a064198a35da2443d29f2a /drivers/acpi/reboot.c
parentc16fa4f2ad19908a47c63d8fa436a1178438c7e7 (diff)
downloadop-kernel-dev-cf450136bfde77c7f95065c91bffded4aa7fa731.zip
op-kernel-dev-cf450136bfde77c7f95065c91bffded4aa7fa731.tar.gz
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/reboot.c')
-rw-r--r--drivers/acpi/reboot.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/acpi/reboot.c b/drivers/acpi/reboot.c
index a6c77e8b..c1d6124 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;
OpenPOWER on IntegriCloud