diff options
author | Joerg Roedel <joro@8bytes.org> | 2012-09-26 06:44:40 -0400 |
---|---|---|
committer | Joerg Roedel <joro@8bytes.org> | 2013-01-28 06:17:26 -0500 |
commit | a6a25dd3270944f3c4182ffcbe0f60482471e849 (patch) | |
tree | 371c11c26abba1b56b203b61c3ae1a5f98af60c0 /drivers/iommu/irq_remapping.c | |
parent | 373dd7a27f2469020e7b56744cf47b82986b9749 (diff) |
x86, io_apic: Convert setup_ioapic_entry to function pointer
This pointer is changed to a different function when IRQ
remapping is enabled.
Signed-off-by: Joerg Roedel <joro@8bytes.org>
Acked-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/iommu/irq_remapping.c')
-rw-r--r-- | drivers/iommu/irq_remapping.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/irq_remapping.c b/drivers/iommu/irq_remapping.c index 67b243c6c4e9..886ad67987fd 100644 --- a/drivers/iommu/irq_remapping.c +++ b/drivers/iommu/irq_remapping.c | |||
@@ -146,6 +146,7 @@ static void __init irq_remapping_modify_x86_ops(void) | |||
146 | { | 146 | { |
147 | x86_io_apic_ops.disable = irq_remapping_disable_io_apic; | 147 | x86_io_apic_ops.disable = irq_remapping_disable_io_apic; |
148 | x86_io_apic_ops.set_affinity = set_remapped_irq_affinity; | 148 | x86_io_apic_ops.set_affinity = set_remapped_irq_affinity; |
149 | x86_io_apic_ops.setup_entry = setup_ioapic_remapped_entry; | ||
149 | x86_msi.setup_msi_irqs = irq_remapping_setup_msi_irqs; | 150 | x86_msi.setup_msi_irqs = irq_remapping_setup_msi_irqs; |
150 | x86_msi.setup_hpet_msi = setup_hpet_msi_remapped; | 151 | x86_msi.setup_hpet_msi = setup_hpet_msi_remapped; |
151 | } | 152 | } |