From: Clément Leger Date: Wed, 27 Mar 2019 13:06:27 +0000 (+0100) Subject: dma: select GENERIC_ALLOCATOR for DMA_REMAP X-Git-Tag: v5.2-rc1~116^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c13edf8106f6ad1edb9b7e011351fbaf83ceb992;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Christoph Hellwig --- diff --git a/kernel/dma/Kconfig b/kernel/dma/Kconfig index a06ba3013b3b6..52b704e2b97ad 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