Signed-off-by: Alexey Kardashevskiy <a...@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