Loading drivers/acpi/acpica/hwxface.c +1 −2 Original line number Original line Diff line number Diff line Loading @@ -74,8 +74,7 @@ acpi_status acpi_reset(void) /* Check if the reset register is supported */ /* Check if the reset register is supported */ if (!(acpi_gbl_FADT.flags & ACPI_FADT_RESET_REGISTER) || if (!reset_reg->address) { !reset_reg->address) { return_ACPI_STATUS(AE_NOT_EXIST); return_ACPI_STATUS(AE_NOT_EXIST); } } Loading drivers/acpi/reboot.c +1 −2 Original line number Original line Diff line number Diff line Loading @@ -23,8 +23,7 @@ void acpi_reboot(void) /* Is the reset register supported? The spec says we should be /* Is the reset register supported? The spec says we should be * checking the bit width and bit offset, but Windows ignores * checking the bit width and bit offset, but Windows ignores * these fields */ * these fields */ if (!(acpi_gbl_FADT.flags & ACPI_FADT_RESET_REGISTER)) /* Ignore also acpi_gbl_FADT.flags.ACPI_FADT_RESET_REGISTER */ return; reset_value = acpi_gbl_FADT.reset_value; reset_value = acpi_gbl_FADT.reset_value; Loading Loading
drivers/acpi/acpica/hwxface.c +1 −2 Original line number Original line Diff line number Diff line Loading @@ -74,8 +74,7 @@ acpi_status acpi_reset(void) /* Check if the reset register is supported */ /* Check if the reset register is supported */ if (!(acpi_gbl_FADT.flags & ACPI_FADT_RESET_REGISTER) || if (!reset_reg->address) { !reset_reg->address) { return_ACPI_STATUS(AE_NOT_EXIST); return_ACPI_STATUS(AE_NOT_EXIST); } } Loading
drivers/acpi/reboot.c +1 −2 Original line number Original line Diff line number Diff line Loading @@ -23,8 +23,7 @@ void acpi_reboot(void) /* Is the reset register supported? The spec says we should be /* Is the reset register supported? The spec says we should be * checking the bit width and bit offset, but Windows ignores * checking the bit width and bit offset, but Windows ignores * these fields */ * these fields */ if (!(acpi_gbl_FADT.flags & ACPI_FADT_RESET_REGISTER)) /* Ignore also acpi_gbl_FADT.flags.ACPI_FADT_RESET_REGISTER */ return; reset_value = acpi_gbl_FADT.reset_value; reset_value = acpi_gbl_FADT.reset_value; Loading