Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39a55ff2 authored by Len Brown's avatar Len Brown
Browse files

tools/power/acpi/acpidump: version 20071116



This is unchanged version 20071116, plus a small bit in
DEFINE_ALTERNATE_TYPES to enable building with latest kernel headers.

Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 981efe9a
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -540,8 +540,11 @@ int main(int argc, char **argv)
	if (connect) {
		lseek(fd, sizeof(struct acpi_rsdp_descriptor), SEEK_SET);
	}
	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) {