diff options
author | Clément Leger <cleger@kalray.eu> | 2019-03-27 14:06:27 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-04-08 17:51:22 +0200 |
commit | c13edf8106f6ad1edb9b7e011351fbaf83ceb992 (patch) | |
tree | 0474152072ce6a7a040efbccbcbc80c41791f44f | |
parent | 15ade5d2e7775667cf191cf2f94327a4889f8b9d (diff) | |
download | linux-c13edf8106f6ad1edb9b7e011351fbaf83ceb992.tar.bz2 |
dma: select GENERIC_ALLOCATOR for DMA_REMAP
When DMA_REMAP is enabled, code in remap.c needs generic allocator.
It currently worked since few architectures uses it (arm64, csky) and
they both select GENERIC_ALLOCATOR. Select it when using DMA_REMAP
to have correct dependencies.
Signed-off-by: Clement Leger <clement.leger@kalray.eu>
Signed-off-by: Christoph Hellwig <hch@lst.de>
-rw-r--r-- | kernel/dma/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/dma/Kconfig b/kernel/dma/Kconfig index a06ba3013b3b..52b704e2b97a 100644 --- a/kernel/dma/Kconfig +++ b/kernel/dma/Kconfig @@ -57,6 +57,7 @@ config SWIOTLB config DMA_REMAP depends on MMU + select GENERIC_ALLOCATOR bool config DMA_DIRECT_REMAP |