]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
dma: select GENERIC_ALLOCATOR for DMA_REMAP
authorClément Leger <cleger@kalray.eu>
Wed, 27 Mar 2019 13:06:27 +0000 (14:06 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 8 Apr 2019 15:51:22 +0000 (17:51 +0200)
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>
kernel/dma/Kconfig

index a06ba3013b3b6da68d870da1a329a791cdead33d..52b704e2b97adee59bbd07023047d9681286cf99 100644 (file)
@@ -57,6 +57,7 @@ config SWIOTLB
 
 config DMA_REMAP
        depends on MMU
+       select GENERIC_ALLOCATOR
        bool
 
 config DMA_DIRECT_REMAP