[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170302100132.20502-1-yousaf.kaukab@suse.com>
Date: Thu, 2 Mar 2017 11:01:31 +0100
From: Mian Yousaf Kaukab <yousaf.kaukab@...e.com>
To: linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
marc.zyngier@....com, alex.williamson@...hat.com
Cc: eric.auger@...hat.com, will.deacon@....com,
Mian Yousaf Kaukab <yousaf.kaukab@...e.com>
Subject: [PATCH 1/2] 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'
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@...e.com>
---
include/linux/irqdomain.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h
index 188eced6813e..137817b08cdc 100644
--- a/include/linux/irqdomain.h
+++ b/include/linux/irqdomain.h
@@ -524,6 +524,10 @@ static inline struct irq_domain *irq_find_matching_fwnode(
{
return NULL;
}
+static inline bool irq_domain_check_msi_remap(void)
+{
+ return true;
+}
#endif /* !CONFIG_IRQ_DOMAIN */
#endif /* _LINUX_IRQDOMAIN_H */
--
2.11.0
Powered by blists - more mailing lists