aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/dma/Makefile
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-08-24 10:31:08 +0200
committerChristoph Hellwig <hch@lst.de>2018-12-01 17:58:34 +0100
commitf0edfea8ef93ed6cc5f747c46c85c8e53e0798a0 (patch)
treeec7062949a8e02aa77a5eede2295e060d2a0121f /kernel/dma/Makefile
parentdma-direct: reject highmem pages from dma_alloc_from_contiguous (diff)
downloadlinux-dev-f0edfea8ef93ed6cc5f747c46c85c8e53e0798a0.tar.xz
linux-dev-f0edfea8ef93ed6cc5f747c46c85c8e53e0798a0.zip
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>
Diffstat (limited to 'kernel/dma/Makefile')
-rw-r--r--kernel/dma/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/dma/Makefile b/kernel/dma/Makefile
index 7d581e4eea4a..f4feeceb8020 100644
--- a/kernel/dma/Makefile
+++ b/kernel/dma/Makefile
@@ -7,4 +7,4 @@ obj-$(CONFIG_DMA_DIRECT_OPS) += direct.o
obj-$(CONFIG_DMA_VIRT_OPS) += virt.o
obj-$(CONFIG_DMA_API_DEBUG) += debug.o
obj-$(CONFIG_SWIOTLB) += swiotlb.o
-
+obj-$(CONFIG_DMA_REMAP) += remap.o