summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/hyperv-iommu.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-08-26 13:16:42 +0200
committerThomas Gleixner <tglx@linutronix.de>2020-09-16 16:52:32 +0200
commit33a65ba470c2b7031e513f7b165e68f51cfc55eb (patch)
tree3250aceb9e1296e4fb1afccc58be4acb9974f463 /drivers/iommu/hyperv-iommu.c
parent2bf1e7bcedb8802cb4fc65757b229edfe112a4bb (diff)
downloadlinux-stable-33a65ba470c2b7031e513f7b165e68f51cfc55eb.tar.gz
linux-stable-33a65ba470c2b7031e513f7b165e68f51cfc55eb.tar.bz2
linux-stable-33a65ba470c2b7031e513f7b165e68f51cfc55eb.zip
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
Diffstat (limited to 'drivers/iommu/hyperv-iommu.c')
-rw-r--r--drivers/iommu/hyperv-iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/hyperv-iommu.c b/drivers/iommu/hyperv-iommu.c
index dc82a1dbcb7c..e09e2d734c57 100644
--- a/drivers/iommu/hyperv-iommu.c
+++ b/drivers/iommu/hyperv-iommu.c
@@ -101,7 +101,7 @@ static int hyperv_irq_remapping_alloc(struct irq_domain *domain,
* in the chip_data and hyperv_irq_remapping_activate()/hyperv_ir_set_
* affinity() set vector and dest_apicid directly into IO-APIC entry.
*/
- irq_data->chip_data = info->ioapic_entry;
+ irq_data->chip_data = info->ioapic.entry;
/*
* Hypver-V IO APIC irq affinity should be in the scope of