From: Yinghai Lu Date: Sat, 9 Oct 2010 05:44:02 +0000 (-0700) Subject: x86: Don't setup ioapic irq for sci twice X-Git-Tag: v2.6.37-rc1~191^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe6dab4e79e82ec35879bfe1a8968b7d15ac0d91;p=pandora-kernel.git x86: Don't setup ioapic irq for sci twice 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 LKML-Reference: <4CB00122.3030301@kernel.org> Signed-off-by: Thomas Gleixner Reviewed-by: Ingo Molnar --- Reading git-diff-tree failed