x86, acpi/irq: Fix acpi_sci_ioapic_setup so it has both bus_irq and gsi
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 30 Mar 2010 08:07:05 +0000 (01:07 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 4 May 2010 20:34:34 +0000 (13:34 -0700)
commit9d2062b879495649bb525cf7979126da2e45d288
treeaaaac84cb7493a4553fa96b2a46b8a567185ea42
parent414d3448dbcb40807a1265ace64b2576ef919fbe
x86, acpi/irq: Fix acpi_sci_ioapic_setup so it has both bus_irq and gsi

Currently acpi_sci_ioapic_setup calls mp_override_legacy_irq with
bus_irq == gsi, which is wrong if we are comming from an override
Instead pass the bus_irq into acpi_sci_ioapic_setup.

This fix was inspired by a similar fix from:
Yinghai Lu <yinghai@kernel.org>

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