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>
Showing
- arch/x86/include/asm/io_apic.h 5 additions, 0 deletionsarch/x86/include/asm/io_apic.h
- arch/x86/include/asm/x86_init.h 5 additions, 0 deletionsarch/x86/include/asm/x86_init.h
- arch/x86/kernel/apic/io_apic.c 5 additions, 9 deletionsarch/x86/kernel/apic/io_apic.c
- arch/x86/kernel/x86_init.c 1 addition, 0 deletionsarch/x86/kernel/x86_init.c
- drivers/iommu/irq_remapping.c 1 addition, 0 deletionsdrivers/iommu/irq_remapping.c
Please register or sign in to comment