From 267d2e18a281c965229a3c3ccce51c471f9c4f8a Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Mon, 28 May 2018 09:55:35 +0200 Subject: nds32: use generic dma_noncoherent_ops Switch to the generic noncoherent direct mapping implementation. Signed-off-by: Christoph Hellwig Acked-by: Greentime Hu Tested-by: Greentime Hu --- arch/nds32/Kconfig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/nds32/Kconfig') diff --git a/arch/nds32/Kconfig b/arch/nds32/Kconfig index 249f38d3388f..67d0ac0a989c 100644 --- a/arch/nds32/Kconfig +++ b/arch/nds32/Kconfig @@ -5,10 +5,13 @@ config NDS32 def_bool y + select ARCH_HAS_SYNC_DMA_FOR_CPU + select ARCH_HAS_SYNC_DMA_FOR_DEVICE select ARCH_WANT_FRAME_POINTERS if FTRACE select CLKSRC_MMIO select CLONE_BACKWARDS select COMMON_CLK + select DMA_NONCOHERENT_OPS select GENERIC_ATOMIC64 select GENERIC_CPU_DEVICES select GENERIC_CLOCKEVENTS -- cgit v1.2.3