Christoph Hellwig efd9f10b70 iommu/dma: Refactor iommu_dma_mmap
Inline __iommu_dma_mmap_pfn into the main function, and use the
fact that __iommu_dma_get_pages return NULL for remapped contigous
allocations to simplify the code flow a bit.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2019-05-27 17:31:12 +02:00
..
2019-05-14 10:30:10 -07:00
2019-05-27 17:31:12 +02:00
2019-04-26 16:43:21 +02:00
2017-08-23 16:28:09 +02:00
2019-05-14 10:30:10 -07:00
2019-05-14 10:30:10 -07:00
2019-01-11 12:28:24 +01:00