aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGravatar Christoph Hellwig <hch@lst.de> 2020-10-07 11:04:08 +0200
committerGravatar Christoph Hellwig <hch@lst.de> 2020-10-07 11:09:20 +0200
commit849facea92fa68d9292f9b06d7c4ee9e7a06b8dc (patch)
treed7225bfe41003dc1ea8105e920bcf938dcd66d6e /arch
parentdma-direct: factor out a dma_direct_alloc_from_pool helper (diff)
downloadlinux-849facea92fa68d9292f9b06d7c4ee9e7a06b8dc.tar.gz
linux-849facea92fa68d9292f9b06d7c4ee9e7a06b8dc.tar.bz2
linux-849facea92fa68d9292f9b06d7c4ee9e7a06b8dc.zip
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: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions