diff options
author | Christoph Hellwig <hch@lst.de> | 2019-08-06 15:06:40 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-09-04 11:13:18 +0200 |
commit | 62fcee9a3bd73e279d3052245a652a918d0c51da (patch) | |
tree | f1beed23ef1bbebfa0b3a9b0c3439feb5b710413 /arch/c6x | |
parent | 5128da323514d1e4260a26f8284c26bc09f97f40 (diff) | |
download | linux-62fcee9a3bd73e279d3052245a652a918d0c51da.tar.gz linux-62fcee9a3bd73e279d3052245a652a918d0c51da.tar.bz2 linux-62fcee9a3bd73e279d3052245a652a918d0c51da.zip |
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/c6x')
-rw-r--r-- | arch/c6x/Kconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/c6x/Kconfig b/arch/c6x/Kconfig index b4fb61c83494..e65e8d82442a 100644 --- a/arch/c6x/Kconfig +++ b/arch/c6x/Kconfig @@ -20,7 +20,6 @@ config C6X select OF_EARLY_FLATTREE select GENERIC_CLOCKEVENTS select MODULES_USE_ELF_RELA - select ARCH_NO_COHERENT_DMA_MMAP select MMU_GATHER_NO_RANGE if MMU config MMU |