Skip to content

Commit

Permalink
dma-mapping: add the missing ARCH_HAS_SYNC_DMA_FOR_CPU_ALL declaration
Browse files Browse the repository at this point in the history
The patch adding the infrastructure failed to actually add the symbol
declaration, oops..

Fixes: faef877 ("dma-noncoherent: add a arch_sync_dma_for_cpu_all hook")
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Paul Burton <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
  • Loading branch information
Christoph Hellwig committed Sep 25, 2018
1 parent bfb0e9b commit 974c24c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kernel/dma/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 974c24c

Please sign in to comment.