]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitf28a1f16135c9c6366f3d3f20f2e58aefc99afa0
tree79a6a640ae1c964b3987e25585db495ab66d49c2
parent69878ef47562f32e02d0b7975c990e1c0339320d
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: 69878ef47562 ("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