diff options
| author | Christoph Hellwig <[email protected]> | 2019-05-20 07:29:44 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2019-05-27 15:31:12 +0000 |
| commit | efd9f10b70689fdeacadc95b6e0ea6dc311fa64f (patch) | |
| tree | d56bfbc22724e3a6b0d364d1b6dc7fb02d2d7df3 /lib/genalloc.c | |
| parent | iommu/dma: Refactor iommu_dma_get_sgtable (diff) | |
| download | kernel-efd9f10b70689fdeacadc95b6e0ea6dc311fa64f.tar.gz kernel-efd9f10b70689fdeacadc95b6e0ea6dc311fa64f.zip | |
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 <[email protected]>
Reviewed-by: Robin Murphy <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions
