Skip to content
Commit d541ae55 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

dma-direct: factor out a helper for DMA_ATTR_NO_KERNEL_MAPPING allocations



Split the code for DMA_ATTR_NO_KERNEL_MAPPING allocations into a separate
helper to make dma_direct_alloc a little more readable.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarRobin Murphy <robin.murphy@arm.com>
Acked-by: default avatarDavid Rientjes <rientjes@google.com>
parent f3c96222
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment