summaryrefslogtreecommitdiff
path: root/drivers/iommu/amd_iommu.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-05-20 10:29:43 +0300
committerJoerg Roedel <jroedel@suse.de>2019-05-27 18:31:11 +0300
commit3fb3378bb1eb2905065211ab51a7bcc2c5e7bd29 (patch)
tree66fb2035ecb4af0af02c51c50b0f643fae640247 /drivers/iommu/amd_iommu.c
parentee1ef05d02b03118e4c197e1193329f5b64246b7 (diff)
downloadlinux-3fb3378bb1eb2905065211ab51a7bcc2c5e7bd29.tar.xz
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 <hch@lst.de> Reviewed-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd_iommu.c')
0 files changed, 0 insertions, 0 deletions