OSDN Git Service

dma-mapping: move dma_common_{mmap,get_sgtable} out of mapping.c
authorChristoph Hellwig <hch@lst.de>
Tue, 18 Aug 2020 07:30:44 +0000 (09:30 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 11 Sep 2020 07:14:56 +0000 (09:14 +0200)
commit545d29272f38ba4791cca2a5a86fe6766f462f18
tree3977606168e9b428a34072b39d14a98d38a9777b
parent5ceda74093a5c1c3f42a02b894df031f3bbc9af1
dma-mapping: move dma_common_{mmap,get_sgtable} out of mapping.c

Add a new file that contains helpers for misc DMA ops, which is only
built when CONFIG_DMA_OPS is set.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
kernel/dma/Makefile
kernel/dma/mapping.c
kernel/dma/ops_helpers.c [new file with mode: 0644]