[PATCH 13/21] dma-iommu: factor contiguous allocations into helpers

2019-03-27 Thread Christoph Hellwig
This keeps the code together and will simplify using it in different ways. Signed-off-by: Christoph Hellwig --- drivers/iommu/dma-iommu.c | 110 -- 1 file changed, 59 insertions(+), 51 deletions(-) diff --git a/drivers/iommu/dma-iommu.c b/drivers/iommu/dma-io

[PATCH 13/21] dma-iommu: factor contiguous allocations into helpers

2019-02-13 Thread Christoph Hellwig
This keeps the code together and will simplify using it in different ways. Signed-off-by: Christoph Hellwig --- drivers/iommu/dma-iommu.c | 110 -- 1 file changed, 59 insertions(+), 51 deletions(-) diff --git a/drivers/iommu/dma-iommu.c b/drivers/iommu/dma-io