diff options
| author | Christoph Hellwig <hch@lst.de> | 2018-09-11 05:00:49 -0400 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2018-09-25 18:11:58 -0400 |
| commit | 974c24c5bed75b53e229a6f68a0533b6d5f48feb (patch) | |
| tree | 63755bb95b55348c89593c49d7237115a6f0a647 | |
| parent | bfb0e9b490bc15f243009359745a9d8a94089dc4 (diff) | |
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>
Reviewed-by: Paul Burton <paul.burton@mips.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
| -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 | |||
| 23 | bool | 23 | bool |
| 24 | select NEED_DMA_MAP_STATE | 24 | select NEED_DMA_MAP_STATE |
| 25 | 25 | ||
| 26 | config ARCH_HAS_SYNC_DMA_FOR_CPU_ALL | ||
| 27 | bool | ||
| 28 | |||
| 26 | config DMA_DIRECT_OPS | 29 | config DMA_DIRECT_OPS |
| 27 | bool | 30 | bool |
| 28 | depends on HAS_DMA | 31 | depends on HAS_DMA |
