From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.ru (ozlabs.ru [107.173.13.209]) by lists.ozlabs.org (Postfix) with ESMTP id 3vsdl46RtYzDqb9 for ; Tue, 28 Mar 2017 15:51:12 +1100 (AEDT) From: Alexey Kardashevskiy To: linuxppc-dev@lists.ozlabs.org Cc: Alexey Kardashevskiy , Michael Ellerman , Paul Mackerras Subject: [PATCH kernel] powerpc/powernv/iommu: Fix compile breakage in iommu_tce_xchg_rm Date: Tue, 28 Mar 2017 15:51:07 +1100 Message-Id: <20170328045107.45863-1-aik@ozlabs.ru> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Signed-off-by: Alexey Kardashevskiy --- 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