mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
iommu/irq_remapping: Consolidate irq domain lookup
Now that the iommu implementations handle the X86_*_GET_PARENT_DOMAIN types, consolidate the two getter functions. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Joerg Roedel <jroedel@suse.de> Link: https://lore.kernel.org/r/20200826112331.741909337@linutronix.de
This commit is contained in:
@@ -43,10 +43,7 @@ struct irq_remap_ops {
|
||||
/* Enable fault handling */
|
||||
int (*enable_faulting)(void);
|
||||
|
||||
/* Get the irqdomain associated the IOMMU device */
|
||||
struct irq_domain *(*get_ir_irq_domain)(struct irq_alloc_info *);
|
||||
|
||||
/* Get the MSI irqdomain associated with the IOMMU device */
|
||||
/* Get the irqdomain associated to IOMMU device */
|
||||
struct irq_domain *(*get_irq_domain)(struct irq_alloc_info *);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user