x86: Embedd irq_2_iommu into irq_cfg
authorThomas Gleixner <tglx@linutronix.de>
Sun, 10 Oct 2010 09:39:09 +0000 (11:39 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 12 Oct 2010 14:53:41 +0000 (16:53 +0200)
commit423f085952fd7253407cb92984cc2d495a564481
tree3cd1d0d986d2136a5a4083cdf72c424881ca754f
parentd0ad63927c6d4d511e172c78ba4a623539ef6901
x86: Embedd irq_2_iommu into irq_cfg

That interrupt remapping code is x86 specific and tied to the io_apic
code. No need for separate allocator functions in the interrupt
remapping code. This allows to simplify the code and irq_2_iommu is
small (13 bytes on 64bit) so it's not a real problem even if interrupt
remapping is runtime disabled. If it's compile time disabled the
impact is zero.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/x86/include/asm/hw_irq.h
drivers/pci/intr_remapping.c
include/linux/dmar.h