[PATCH] dma: select GENERIC_ALLOCATOR for DMA_REMAP

From: ClÃment Leger
Date: Thu Mar 21 2019 - 06:20:35 EST


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.

Signed-off-by: Clement Leger <clement.leger@xxxxxxxxx>
---
kernel/dma/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/kernel/dma/Kconfig b/kernel/dma/Kconfig
index a06ba3013b3b..6a43c4ae77f9 100644
--- a/kernel/dma/Kconfig
+++ b/kernel/dma/Kconfig
@@ -58,6 +58,7 @@ config SWIOTLB
config DMA_REMAP
depends on MMU
bool
+ select GENERIC_ALLOCATOR

config DMA_DIRECT_REMAP
bool
--
2.15.0.276.g89ea799