Revert "ACPI: ignore FADT reset-reg-sup flag"
[~shefty/rdma-dev.git] / drivers / acpi / acpica / hwxface.c
index ab513a9..a716fed 100644 (file)
@@ -74,7 +74,8 @@ acpi_status acpi_reset(void)
 
        /* Check if the reset register is supported */
 
-       if (!reset_reg->address) {
+       if (!(acpi_gbl_FADT.flags & ACPI_FADT_RESET_REGISTER) ||
+           !reset_reg->address) {
                return_ACPI_STATUS(AE_NOT_EXIST);
        }