diff options
author | Christoph Hellwig <hch@lst.de> | 2018-09-11 08:54:57 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-09-20 09:01:14 +0200 |
commit | 684f7e91d3c72d555b82db13b2a48798e6097886 (patch) | |
tree | e94751fc47ca56434c30862325e1af9779beb885 /kernel/dma/Kconfig | |
parent | dma-mapping: fix panic caused by passing empty cma command line argument (diff) | |
download | linux-684f7e91d3c72d555b82db13b2a48798e6097886.tar.xz linux-684f7e91d3c72d555b82db13b2a48798e6097886.zip |
dma-mapping: add the missing ARCH_HAS_SYNC_DMA_FOR_CPU_ALL declaration
The patch adding the infrastructure failed to actually add the symbol
declaration, oops..
Fixes: faef87723a ("dma-noncoherent: add a arch_sync_dma_for_cpu_all hook")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to '')
-rw-r--r-- | kernel/dma/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/dma/Kconfig b/kernel/dma/Kconfig index 9bd54304446f..1b1d63b3634b 100644 --- a/kernel/dma/Kconfig +++ b/kernel/dma/Kconfig @@ -23,6 +23,9 @@ config ARCH_HAS_SYNC_DMA_FOR_CPU bool select NEED_DMA_MAP_STATE +config ARCH_HAS_SYNC_DMA_FOR_CPU_ALL + bool + config DMA_DIRECT_OPS bool depends on HAS_DMA |