ACPI: fix two IRQ8 issues in IOAPIC mode
authorShaohua Li <shaohua.li@intel.com>
Sat, 17 Nov 2007 06:05:28 +0000 (01:05 -0500)
committerLen Brown <len.brown@intel.com>
Tue, 20 Nov 2007 06:16:29 +0000 (01:16 -0500)
commit61fd47e0c84764f49b4e52bfd8170fac52636f00
treec94c7b8c43dee4bb123900f49ef781607ee0d6fb
parentf0714d20234062bd0a8f49a6b32f7d1d7f3c2943
ACPI: fix two IRQ8 issues in IOAPIC mode

Use mp_irqs[] to get PNP device's interrupt polarity and trigger.
There are two reasons to do this:
1. BIOS bug for PNP interrupt
2. BIOS explictly does override
mp_irqs[] should cover all the cases.

http://bugzilla.kernel.org/show_bug.cgi?id=5243
http://bugzilla.kernel.org/show_bug.cgi?id=7679
http://bugzilla.kernel.org/show_bug.cgi?id=9153

[lenb: fixed !IOAPIC and 64-bit !SMP builds]

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/x86/kernel/io_apic_32.c
arch/x86/kernel/io_apic_64.c
drivers/pnp/pnpacpi/rsparser.c
include/linux/acpi.h