mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
ACPICA: Remove duplicate table definitions (non-conflicting), cont
Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
parent
5f3b1a8b67
commit
15a58ed121
15 changed files with 135 additions and 250 deletions
|
|
@ -773,13 +773,13 @@ static int get_gsi_base(acpi_handle handle, u32 *gsi_base)
|
|||
goto out;
|
||||
|
||||
table = obj->buffer.pointer;
|
||||
switch (((acpi_table_entry_header *)table)->type) {
|
||||
case ACPI_MADT_IOSAPIC:
|
||||
*gsi_base = ((struct acpi_table_iosapic *)table)->global_irq_base;
|
||||
switch (((struct acpi_subtable_header *)table)->type) {
|
||||
case ACPI_MADT_TYPE_IO_SAPIC:
|
||||
*gsi_base = ((struct acpi_madt_io_sapic *)table)->global_irq_base;
|
||||
result = 0;
|
||||
break;
|
||||
case ACPI_MADT_IOAPIC:
|
||||
*gsi_base = ((struct acpi_table_ioapic *)table)->global_irq_base;
|
||||
case ACPI_MADT_TYPE_IO_APIC:
|
||||
*gsi_base = ((struct acpi_madt_io_apic *)table)->global_irq_base;
|
||||
result = 0;
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in a new issue