search for: plintsrc

Displaying 1 result from an estimated 1 matches for "plintsrc".

Did you mean: intsrc
2011 Dec 12
0
[PATCH 1/4] ACPI: eliminate duplicate MADT parsing and unused SBF definitions
...lsapic->flags.enabled = 0; + lsapic->lapic_flags &= ~ACPI_MADT_ENABLED; lsapic->id = 0; lsapic->eid = 0; } @@ -83,10 +83,11 @@ static int __init acpi_patch_plat_int_src(struct acpi_subtable_header * header, const unsigned long end) { - struct acpi_table_plat_int_src *plintsrc; + struct acpi_madt_interrupt_source *plintsrc = + container_of(header, struct acpi_madt_interrupt_source, + header); - plintsrc = (struct acpi_table_plat_int_src *)header; - if (!plintsrc) + if (!header) return -EINVAL; if (plintsrc->type == ACPI_INTERRUPT_CPEI) { @@ -193,12 +1...