Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331718
b: refs/heads/master
c: 39a55ff
h: refs/heads/master
v: v3
  • Loading branch information
Len Brown committed Sep 23, 2012
1 parent 36b9b86 commit 0dda5c3
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 981efe9ab9e91e13ec75836300515428a30017df
refs/heads/master: 39a55ff2c34a11ab9bbc8ba6f4dfb5d366cb2532
7 changes: 5 additions & 2 deletions trunk/tools/power/acpi/acpidump.c
Original file line number Diff line number Diff line change
Expand Up @@ -540,8 +540,11 @@ int main(int argc, char **argv)
if (connect) {
lseek(fd, sizeof(struct acpi_rsdp_descriptor), SEEK_SET);
}
if (!acpi_dump_XSDT(fd, &rsdpx))
goto not_found;
if (rsdpx.revision > 1 && rsdpx.xsdt_physical_address) {
/* ACPIDUMP uses xsdt table */
if (!acpi_dump_XSDT(fd, &rsdpx))
goto not_found;
}
if (!acpi_dump_RSDT(fd, &rsdpx))
goto not_found;
if (connect) {
Expand Down

0 comments on commit 0dda5c3

Please sign in to comment.