Commit b3e22847 authored by Mian Yousaf Kaukab's avatar Mian Yousaf Kaukab Committed by Marc Zyngier

irqdomain: Add empty irq_domain_check_msi_remap

Fix following build error for s390:
drivers/vfio/vfio_iommu_type1.c: In function 'vfio_iommu_type1_attach_group':
drivers/vfio/vfio_iommu_type1.c:1290:25: error: implicit declaration of function 'irq_domain_check_msi_remap'
Acked-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
Reviewed-by: default avatarEric Auger <eric.auger@redhat.com>
Signed-off-by: default avatarMian Yousaf Kaukab <yousaf.kaukab@suse.com>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
parent 077dbaee
...@@ -524,6 +524,10 @@ static inline struct irq_domain *irq_find_matching_fwnode( ...@@ -524,6 +524,10 @@ static inline struct irq_domain *irq_find_matching_fwnode(
{ {
return NULL; return NULL;
} }
static inline bool irq_domain_check_msi_remap(void)
{
return false;
}
#endif /* !CONFIG_IRQ_DOMAIN */ #endif /* !CONFIG_IRQ_DOMAIN */
#endif /* _LINUX_IRQDOMAIN_H */ #endif /* _LINUX_IRQDOMAIN_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment