ACPICA: acpidump: Add ACPI 1.0 RSDP support.
[cascardo/linux.git] / tools / power / acpi / tools / acpidump / apdump.c
index 53cee78..24d3296 100644 (file)
@@ -146,7 +146,7 @@ u32 ap_get_table_length(struct acpi_table_header *table)
 
        if (ACPI_VALIDATE_RSDP_SIG(table->signature)) {
                rsdp = ACPI_CAST_PTR(struct acpi_table_rsdp, table);
-               return (rsdp->length);
+               return (acpi_tb_get_rsdp_length(rsdp));
        }
 
        /* Normal ACPI table */