dma-mapping: remove CONFIG_ARCH_NO_COHERENT_DMA_MMAP
authorChristoph Hellwig <hch@lst.de>
Tue, 6 Aug 2019 12:06:40 +0000 (15:06 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 4 Sep 2019 09:13:18 +0000 (11:13 +0200)
commit62fcee9a3bd73e279d3052245a652a918d0c51da
treef1beed23ef1bbebfa0b3a9b0c3439feb5b710413
parent5128da323514d1e4260a26f8284c26bc09f97f40
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
arch/Kconfig
arch/c6x/Kconfig
arch/m68k/Kconfig
arch/microblaze/Kconfig
arch/sh/Kconfig
arch/xtensa/Kconfig
kernel/dma/mapping.c