]> git.baikalelectronics.ru Git - kernel.git/commit
m68k: Don't select ARCH_HAS_DMA_PREP_COHERENT for nommu or coldfire
authorChristoph Hellwig <hch@lst.de>
Mon, 8 Jul 2019 17:51:01 +0000 (10:51 -0700)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 9 Jul 2019 07:13:24 +0000 (09:13 +0200)
commit99edb1b1d96b9baf66eb702e7e3830705d0ddf60
tree79a6a640ae1c964b3987e25585db495ab66d49c2
parent1bbd94fb9bcd29a62816ea8042a37f683958d9e1
m68k: Don't select ARCH_HAS_DMA_PREP_COHERENT for nommu or coldfire

M68k only provides the arch_dma_prep_coherent symbol when an mmu is
enabled and not on the coldfire platform.  Fix the Kconfig symbol
selection up to match this.

Fixes: 1bbd94fb9bcd ("m68k: Implement arch_dma_prep_coherent()")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/Kconfig