iommu/dma: Move __iommu_dma_map
authorChristoph Hellwig <hch@lst.de>
Mon, 20 May 2019 07:29:30 +0000 (09:29 +0200)
committerJoerg Roedel <jroedel@suse.de>
Mon, 27 May 2019 15:31:11 +0000 (17:31 +0200)
commit92aec09cc87975f66d3a84001876693d9ac6073b
tree4f548ff4d682ae217b9dbfce06dfffc9032a21ac
parent06d60728ff5c01795ac0bad66a5c42e3e78dcb6b
iommu/dma: Move __iommu_dma_map

Moving this function up to its unmap counterpart helps to keep related
code together for the following changes.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/dma-iommu.c