Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 241713
b: refs/heads/master
c: 95cf3e1
h: refs/heads/master
i:
  241711: 24be28d
v: v3
  • Loading branch information
Matthew Garrett authored and Len Brown committed Mar 23, 2011
1 parent bf6a4ff commit df6532a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6734fe57a07b2dd23ef1ef2ac1f790747e53eefc
refs/heads/master: 95cf3e12e7f659e536215b37c67d46f3e2ce95cc
5 changes: 5 additions & 0 deletions trunk/drivers/acpi/reboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ void acpi_reboot(void)

rr = &acpi_gbl_FADT.reset_register;

/* ACPI reset register was only introduced with v2 of the FADT */

if (acpi_gbl_FADT.header.revision < 2)
return;

/* Is the reset register supported? The spec says we should be
* checking the bit width and bit offset, but Windows ignores
* these fields */
Expand Down

0 comments on commit df6532a

Please sign in to comment.