* [PATCH kernel] powerpc/powernv/iommu: Fix compile breakage in iommu_tce_xchg_rm
@ 2017-03-28 4:51 Alexey Kardashevskiy
0 siblings, 0 replies; only message in thread
From: Alexey Kardashevskiy @ 2017-03-28 4:51 UTC (permalink / raw)
To: linuxppc-dev; +Cc: Alexey Kardashevskiy, Michael Ellerman, Paul Mackerras
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
---
Please squash it into:
[02/10] powerpc/powernv/iommu: Add real mode version of iommu_table_ops::exchange()
---
arch/powerpc/kernel/iommu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/powerpc/kernel/iommu.c b/arch/powerpc/kernel/iommu.c
index 9bace5df05d5..685a4767b722 100644
--- a/arch/powerpc/kernel/iommu.c
+++ b/arch/powerpc/kernel/iommu.c
@@ -1004,6 +1004,7 @@ long iommu_tce_xchg(struct iommu_table *tbl, unsigned long entry,
}
EXPORT_SYMBOL_GPL(iommu_tce_xchg);
+#ifdef CONFIG_PPC_BOOK3S_64
long iommu_tce_xchg_rm(struct iommu_table *tbl, unsigned long entry,
unsigned long *hpa, enum dma_data_direction *direction)
{
@@ -1026,6 +1027,7 @@ long iommu_tce_xchg_rm(struct iommu_table *tbl, unsigned long entry,
return ret;
}
EXPORT_SYMBOL_GPL(iommu_tce_xchg_rm);
+#endif
int iommu_take_ownership(struct iommu_table *tbl)
{
--
2.11.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-28 4:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-28 4:51 [PATCH kernel] powerpc/powernv/iommu: Fix compile breakage in iommu_tce_xchg_rm Alexey Kardashevskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).