dma-mapping: add the missing ARCH_HAS_SYNC_DMA_FOR_CPU_ALL declaration
authorChristoph Hellwig <hch@lst.de>
Tue, 11 Sep 2018 09:00:49 +0000 (11:00 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 25 Sep 2018 22:11:58 +0000 (15:11 -0700)
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>
Reviewed-by: Paul Burton <paul.burton@mips.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
kernel/dma/Kconfig

index 9bd5430..1b1d63b 100644 (file)
@@ -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