]> git.baikalelectronics.ru Git - kernel.git/commit
dma-mapping: add a dma_can_mmap helper
authorChristoph Hellwig <hch@lst.de>
Sat, 3 Aug 2019 10:31:25 +0000 (13:31 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 4 Sep 2019 09:13:18 +0000 (11:13 +0200)
commit58063286a31752c03e9f58849d29e02da75f5acc
tree50aefa076cec185f9ccc50c2696fb80d38ceb165
parent79372a03513aa113f88fa249f657f74f34150cb5
dma-mapping: add a dma_can_mmap helper

Add a helper to check if DMA allocations for a specific device can be
mapped to userspace using dma_mmap_*.

Signed-off-by: Christoph Hellwig <hch@lst.de>
include/linux/dma-mapping.h
kernel/dma/mapping.c