iommu/vt-d: Convert IR ioapic-setup to use remap_ops
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 30 Mar 2012 18:47:02 +0000 (11:47 -0700)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 7 May 2012 12:34:59 +0000 (14:34 +0200)
commit0c3f173a88c4ae3e4253427cf574a59ad5352918
treed34364dc8d7926de75ec486ce579b478d23098e3
parent4f3d8b67ad3090f9fb72f8235d21cde53cd24b79
iommu/vt-d: Convert IR ioapic-setup to use remap_ops

The IOAPIC setup routine for interrupt remapping is VT-d
specific. Move it to the irq_remap_ops and add a call helper
function.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/include/asm/intr_remapping.h
arch/x86/kernel/apic/io_apic.c
drivers/iommu/intel_intr_remapping.c
drivers/iommu/intr_remapping.c
drivers/iommu/intr_remapping.h