Displaying 1 result from an estimated 1 matches for "acpi_table_parse_madt".
2011 Dec 12
0
[PATCH 1/4] ACPI: eliminate duplicate MADT parsing and unused SBF definitions
...header);
- plintsrc = (struct acpi_table_plat_int_src *)header;
- if (!plintsrc)
+ if (!header)
return -EINVAL;
if (plintsrc->type == ACPI_INTERRUPT_CPEI) {
@@ -193,12 +194,13 @@ static void __init touch_acpi_table(void
*/
acpi_table_parse(ACPI_SIG_MADT, acpi_backup_table);
- if (acpi_table_parse_madt(ACPI_MADT_LSAPIC, acpi_update_lsapic, 0) < 0)
+ if (acpi_table_parse_madt(ACPI_MADT_TYPE_LOCAL_SAPIC,
+ acpi_update_lsapic, 0) < 0)
printk("Error parsing MADT - no LAPIC entries\n");
acpi_update_madt_checksum(madt);
- if (acpi_table_parse_madt(ACPI_MADT_PLAT_INT_SRC,
+...