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

dma-direct: simplify the DMA_ATTR_NO_KERNEL_MAPPING handling



Use and entirely separate code path for the DMA_ATTR_NO_KERNEL_MAPPING
path.  This avoids any confusion about the ret type, and avoids lots of
attr checks and helpers that can be significantly simplified now.

It also ensures that common handling is applied to architetures still
using the arch alloc/free hooks.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 5b138c53
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment