x86_ioapic_Consolidate_IOAPIC_allocation
authorThomas Gleixner <tglx@linutronix.de>
Wed, 26 Aug 2020 11:16:42 +0000 (13:16 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 16 Sep 2020 14:52:32 +0000 (16:52 +0200)
commit33a65ba470c2b7031e513f7b165e68f51cfc55eb
tree3250aceb9e1296e4fb1afccc58be4acb9974f463
parent2bf1e7bcedb8802cb4fc65757b229edfe112a4bb
x86_ioapic_Consolidate_IOAPIC_allocation

Move the IOAPIC specific fields into their own struct and reuse the common
devid. Get rid of the #ifdeffery as it does not matter at all whether the
alloc info is a couple of bytes longer or not.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Wei Liu <wei.liu@kernel.org>
Acked-by: Joerg Roedel <jroedel@suse.de>
Link: https://lore.kernel.org/r/20200826112332.054367732@linutronix.de
arch/x86/include/asm/hw_irq.h
arch/x86/kernel/apic/io_apic.c
arch/x86/kernel/devicetree.c
drivers/iommu/amd/iommu.c
drivers/iommu/hyperv-iommu.c
drivers/iommu/intel/irq_remapping.c