diff options
author | Christoph Hellwig <hch@lst.de> | 2018-08-24 10:31:08 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-12-01 17:58:34 +0100 |
commit | f0edfea8ef93ed6cc5f747c46c85c8e53e0798a0 (patch) | |
tree | ec7062949a8e02aa77a5eede2295e060d2a0121f /kernel/dma/Kconfig | |
parent | 704f2c20eaa566f6906e8812b6e2115889bd753d (diff) |
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/Kconfig')
-rw-r--r-- | kernel/dma/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/dma/Kconfig b/kernel/dma/Kconfig index 645c7a2ecde8..c92e08173ed8 100644 --- a/kernel/dma/Kconfig +++ b/kernel/dma/Kconfig @@ -51,3 +51,7 @@ config SWIOTLB bool select DMA_DIRECT_OPS select NEED_DMA_MAP_STATE + +config DMA_REMAP + depends on MMU + bool |