diff options
| author | Christoph Hellwig <[email protected]> | 2019-05-20 07:29:43 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2019-05-27 15:31:11 +0000 |
| commit | 3fb3378bb1eb2905065211ab51a7bcc2c5e7bd29 (patch) | |
| tree | 66fb2035ecb4af0af02c51c50b0f643fae640247 /lib/genalloc.c | |
| parent | iommu/dma: Refactor iommu_dma_alloc, part 2 (diff) | |
| download | kernel-3fb3378bb1eb2905065211ab51a7bcc2c5e7bd29.tar.gz kernel-3fb3378bb1eb2905065211ab51a7bcc2c5e7bd29.zip | |
iommu/dma: Refactor iommu_dma_get_sgtable
Inline __iommu_dma_get_sgtable_page 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
