Commit 12ec4455 authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo Committed by Linus Torvalds

[PATCH] fix platform_rename_gsi related ia32 build breakage

"platform_rename_gsi" does not exist unless CONFIG_ACPI_BOOT is defined.
parent 2a307209
...@@ -1069,12 +1069,14 @@ static int pin_2_irq(int idx, int apic, int pin) ...@@ -1069,12 +1069,14 @@ static int pin_2_irq(int idx, int apic, int pin)
while (i < apic) while (i < apic)
irq += nr_ioapic_registers[i++]; irq += nr_ioapic_registers[i++];
irq += pin; irq += pin;
#ifdef CONFIG_ACPI_BOOT
/* /*
* For MPS mode, so far only used by ES7000 platform * For MPS mode, so far only used by ES7000 platform
*/ */
if (platform_rename_gsi) if (platform_rename_gsi)
irq = platform_rename_gsi(apic, irq); irq = platform_rename_gsi(apic, irq);
break; break;
#endif
} }
default: default:
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment