diff options
author | Christoph Hellwig <hch@lst.de> | 2018-05-11 08:36:53 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-08-02 13:54:20 +0200 |
commit | 6fa1d28e38cfa0c90f8d64c0cab37769e5337b85 (patch) | |
tree | e86521d0770694a10588bc70fd31624113da6484 /arch/sh/Kconfig | |
parent | 46bcde94cd02283535cb719666399f1c4cfb8f22 (diff) | |
download | linux-6fa1d28e38cfa0c90f8d64c0cab37769e5337b85.tar.bz2 |
sh: use generic dma_noncoherent_ops
Switch to the generic noncoherent direct mapping implementation.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r-- | arch/sh/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index c9993a0cdc7e..da4db4b5359f 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig @@ -51,7 +51,6 @@ config SUPERH select HAVE_ARCH_AUDITSYSCALL select HAVE_FUTEX_CMPXCHG if FUTEX select HAVE_NMI - select NEED_DMA_MAP_STATE select NEED_SG_DMA_LENGTH help @@ -164,6 +163,8 @@ config DMA_COHERENT config DMA_NONCOHERENT def_bool !DMA_COHERENT + select ARCH_HAS_SYNC_DMA_FOR_DEVICE + select DMA_NONCOHERENT_OPS config PGTABLE_LEVELS default 3 if X2TLB |