x86, acpi/irq: Generalize mp_config_acpi_legacy_irqs
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 30 Mar 2010 08:07:06 +0000 (01:07 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 4 May 2010 20:34:38 +0000 (13:34 -0700)
commit0fd52670fb6400be0996ac492b5ed77f3d83d69a
tree72b240783b05b6cd1536a2b445d3bb841229491a
parent9d2062b879495649bb525cf7979126da2e45d288
x86, acpi/irq: Generalize mp_config_acpi_legacy_irqs

Remove the assumption that there is not an override for isa irq 0.
Instead lookup the gsi and from that lookup the ioapic and pin of each
isa irq indivdually.

In general this should not have any behavioural affect but in
perverse cases this gets all of the details correct, instead of
doing something weird.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
LKML-Reference: <1269936436-7039-5-git-send-email-ebiederm@xmission.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/acpi/boot.c