summaryrefslogtreecommitdiffstats
path: root/kernel/dma/Kconfig
diff options
context:
space:
mode:
authorClément Leger <cleger@kalray.eu>2019-03-27 14:06:27 +0100
committerChristoph Hellwig <hch@lst.de>2019-04-08 17:51:22 +0200
commitc13edf8106f6ad1edb9b7e011351fbaf83ceb992 (patch)
tree0474152072ce6a7a040efbccbcbc80c41791f44f /kernel/dma/Kconfig
parent15ade5d2e7775667cf191cf2f94327a4889f8b9d (diff)
downloadlinux-c13edf8106f6ad1edb9b7e011351fbaf83ceb992.tar.gz
linux-c13edf8106f6ad1edb9b7e011351fbaf83ceb992.tar.bz2
linux-c13edf8106f6ad1edb9b7e011351fbaf83ceb992.zip
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>
Diffstat (limited to 'kernel/dma/Kconfig')
-rw-r--r--kernel/dma/Kconfig1
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