x86, io_apic: Introduce set_affinity function pointer
authorJoerg Roedel <joro@8bytes.org>
Wed, 26 Sep 2012 10:44:39 +0000 (12:44 +0200)
committerJoerg Roedel <joro@8bytes.org>
Mon, 28 Jan 2013 11:17:26 +0000 (12:17 +0100)
commit373dd7a27f2469020e7b56744cf47b82986b9749
tree1fb77f5d3b11ad5d2c97c1244e1460cabb94593a
parent5afba62cc8a16716508605e02c1b02ee5f969184
x86, io_apic: Introduce set_affinity function pointer

With interrupt remapping a special function is used to
change the affinity of an IO-APIC interrupt. Abstract this
with a function pointer.

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>
arch/x86/include/asm/io_apic.h
arch/x86/include/asm/irq_remapping.h
arch/x86/include/asm/x86_init.h
arch/x86/kernel/apic/io_apic.c
arch/x86/kernel/x86_init.c
drivers/iommu/irq_remapping.c