Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299393
b: refs/heads/master
c: 19244ad
h: refs/heads/master
i:
  299391: 9b26732
v: v3
  • Loading branch information
Linus Torvalds committed Apr 20, 2012
1 parent 6c41265 commit 32709d2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b3dc627cabb33fc95f93da78457770c1b2a364d2
refs/heads/master: 19244ad06b70ed84931df868583547ce1cd3a186
3 changes: 2 additions & 1 deletion trunk/drivers/acpi/acpica/hwxface.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/acpi/reboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ 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 */
/* Ignore also acpi_gbl_FADT.flags.ACPI_FADT_RESET_REGISTER */
if (!(acpi_gbl_FADT.flags & ACPI_FADT_RESET_REGISTER))
return;

reset_value = acpi_gbl_FADT.reset_value;

Expand Down

0 comments on commit 32709d2

Please sign in to comment.