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 9bd54304446f8b477a61a799a2d75136672548bd..1b1d63b3634b580cf6b29384e162f76b28e05102 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