iommu-common: move to arch/sparc
authorChristoph Hellwig <hch@lst.de>
Tue, 3 Apr 2018 13:34:58 +0000 (15:34 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 9 May 2018 04:54:27 +0000 (06:54 +0200)
commit0d3fdb157fd0b96b06be7f1d8cea21dd2bc030da
tree83a1be817f90bdaa771c4f213e3b4acd7f36d38d
parent6e88628d03dda355a6fb3384680c1a075dd9a878
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>
arch/sparc/include/asm/iommu-common.h [new file with mode: 0644]
arch/sparc/include/asm/iommu_64.h
arch/sparc/kernel/Makefile
arch/sparc/kernel/iommu-common.c [new file with mode: 0644]
arch/sparc/kernel/iommu.c
arch/sparc/kernel/ldc.c
arch/sparc/kernel/pci_sun4v.c
include/linux/iommu-common.h [deleted file]
lib/Makefile
lib/iommu-common.c [deleted file]