x86: Don't setup ioapic irq for sci twice
authorYinghai Lu <yinghai@kernel.org>
Sat, 9 Oct 2010 05:44:02 +0000 (22:44 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 12 Oct 2010 14:53:40 +0000 (16:53 +0200)
The sparseirq rework triggered a warning in the iommu code, which was
caused by setting up ioapic for ACPI irq 9 twice. This function is
solely to handle interrupts which are on a secondary ioapic and
outside the legacy irq range.

Replace the sparse irq_to_desc check with a non ifdeffed version.

[ tglx: Moved it before the ioapic sparse conversion and simplified
   the inverse logic ]

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <4CB00122.3030301@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@elte.hu>

No differences found