aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/sparc/kernel/iommu.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-04-03 15:34:58 +0200
committerChristoph Hellwig <hch@lst.de>2018-05-09 06:54:27 +0200
commit0d3fdb157fd0b96b06be7f1d8cea21dd2bc030da (patch)
tree83a1be817f90bdaa771c4f213e3b4acd7f36d38d /arch/sparc/kernel/iommu.c
parentdma-debug: remove CONFIG_HAVE_DMA_API_DEBUG (diff)
downloadwireguard-linux-0d3fdb157fd0b96b06be7f1d8cea21dd2bc030da.tar.xz
wireguard-linux-0d3fdb157fd0b96b06be7f1d8cea21dd2bc030da.zip
iommu-common: move to arch/sparc
This code is only used by sparc, and all new iommu drivers should use the drivers/iommu/ framework. Also remove the unused exports. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: David S. Miller <davem@davemloft.net> Reviewed-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Diffstat (limited to 'arch/sparc/kernel/iommu.c')
-rw-r--r--arch/sparc/kernel/iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/iommu.c b/arch/sparc/kernel/iommu.c
index b08dc3416f06..40d008b0bd3e 100644
--- a/arch/sparc/kernel/iommu.c
+++ b/arch/sparc/kernel/iommu.c
@@ -14,7 +14,7 @@
#include <linux/errno.h>
#include <linux/iommu-helper.h>
#include <linux/bitmap.h>
-#include <linux/iommu-common.h>
+#include <asm/iommu-common.h>
#ifdef CONFIG_PCI
#include <linux/pci.h>