commit | efd9f10b70689fdeacadc95b6e0ea6dc311fa64f | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon May 20 09:29:44 2019 +0200 |
committer | Joerg Roedel <jroedel@suse.de> | Mon May 27 17:31:12 2019 +0200 |
tree | d56bfbc22724e3a6b0d364d1b6dc7fb02d2d7df3 | |
parent | 3fb3378bb1eb2905065211ab51a7bcc2c5e7bd29 [diff] |
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>