summaryrefslogtreecommitdiffstats
path: root/arch/m68k/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig2018-06-20 10:19:45 +0200
committerGeert Uytterhoeven2018-07-23 15:07:12 +0200
commit9eb8be602bf8d550a33b4e1f9fac543bd5c89f4d (patch)
treee93f1d02f41d47e11a152e65139aa02214b53ae5 /arch/m68k/Kconfig
parentnubus: Set default dma mask for nubus_board devices (diff)
downloadkernel-qcow2-linux-9eb8be602bf8d550a33b4e1f9fac543bd5c89f4d.tar.gz
kernel-qcow2-linux-9eb8be602bf8d550a33b4e1f9fac543bd5c89f4d.tar.xz
kernel-qcow2-linux-9eb8be602bf8d550a33b4e1f9fac543bd5c89f4d.zip
m68k: Use generic dma_noncoherent_ops
Switch to the generic noncoherent direct mapping implementation. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Greg Ungerer <gerg@linux-m68k.org> Tested-by: Greg Ungerer <gerg@linux-m68k.org> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/Kconfig')
-rw-r--r--arch/m68k/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig
index 785612b576f7..3f61327da2d5 100644
--- a/arch/m68k/Kconfig
+++ b/arch/m68k/Kconfig
@@ -2,6 +2,7 @@
config M68K
bool
default y
+ select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA
select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
select ARCH_NO_COHERENT_DMA_MMAP if !MMU
select HAVE_IDE
@@ -24,6 +25,7 @@ config M68K
select MODULES_USE_ELF_RELA
select OLD_SIGSUSPEND3
select OLD_SIGACTION
+ select DMA_NONCOHERENT_OPS if HAS_DMA
config CPU_BIG_ENDIAN
def_bool y