]> git.baikalelectronics.ru Git - kernel.git/commit
dma-mapping: move the remap helpers to a separate file
authorChristoph Hellwig <hch@lst.de>
Fri, 24 Aug 2018 08:31:08 +0000 (10:31 +0200)
committerChristoph Hellwig <hch@lst.de>
Sat, 1 Dec 2018 16:58:34 +0000 (17:58 +0100)
commit2e5fd3cbefb7fd941822ac6f5322464699d24b01
treeec7062949a8e02aa77a5eede2295e060d2a0121f
parent34c96ed43917a381860fa8c704ba583346a52cb1
dma-mapping: move the remap helpers to a separate file

The dma remap code only makes sense for not cache coherent architectures
(or possibly the corner case of highmem CMA allocations) and currently
is only used by arm, arm64, csky and xtensa.  Split it out into a
separate file with a separate Kconfig symbol, which gets the right
copyright notice given that this code was written by Laura Abbott
working for Code Aurora at that point.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Laura Abbott <labbott@redhat.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
arch/arm/Kconfig
arch/arm64/Kconfig
arch/csky/Kconfig
arch/xtensa/Kconfig
kernel/dma/Kconfig
kernel/dma/Makefile
kernel/dma/mapping.c
kernel/dma/remap.c [new file with mode: 0644]