summaryrefslogtreecommitdiffstats
path: root/arch/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-08-06 08:06:40 -0400
committerChristoph Hellwig <hch@lst.de>2019-09-04 05:13:18 -0400
commit62fcee9a3bd73e279d3052245a652a918d0c51da (patch)
treef1beed23ef1bbebfa0b3a9b0c3439feb5b710413 /arch/Kconfig
parent5128da323514d1e4260a26f8284c26bc09f97f40 (diff)
dma-mapping: remove CONFIG_ARCH_NO_COHERENT_DMA_MMAP
CONFIG_ARCH_NO_COHERENT_DMA_MMAP is now functionally identical to !CONFIG_MMU, so remove the separate symbol. The only difference is that arm did not set it for !CONFIG_MMU, but arm uses a separate dma mapping implementation including its own mmap method, which is handled by moving the CONFIG_MMU check in dma_can_mmap so that is only applies to the dma-direct case, just as the other ifdefs for it. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> # m68k
Diffstat (limited to 'arch/Kconfig')
-rw-r--r--arch/Kconfig3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index a7b57dd42c26..ec2834206d08 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -790,9 +790,6 @@ config COMPAT_32BIT_TIME
790 This is relevant on all 32-bit architectures, and 64-bit architectures 790 This is relevant on all 32-bit architectures, and 64-bit architectures
791 as part of compat syscall handling. 791 as part of compat syscall handling.
792 792
793config ARCH_NO_COHERENT_DMA_MMAP
794 bool
795
796config ARCH_NO_PREEMPT 793config ARCH_NO_PREEMPT
797 bool 794 bool
798 795