From: Christoph Hellwig Date: Thu, 18 Jun 2020 15:23:31 +0000 (+0200) Subject: dma-mapping: DMA_COHERENT_POOL should select GENERIC_ALLOCATOR X-Git-Tag: v5.15~3495^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d07ae4c486908615ab336b987c7c367d132fd844;p=platform%2Fkernel%2Flinux-starfive.git dma-mapping: DMA_COHERENT_POOL should select GENERIC_ALLOCATOR The dma coherent pool code needs genalloc. Move the select over from DMA_REMAP, which doesn't actually need it. Fixes: dbed452a078d ("dma-pool: decouple DMA_REMAP from DMA_COHERENT_POOL") Reported-by: kernel test robot Signed-off-by: Christoph Hellwig Acked-by: David Rientjes --- diff --git a/kernel/dma/Kconfig b/kernel/dma/Kconfig index 14ef8e1..1da3f44 100644 --- a/kernel/dma/Kconfig +++ b/kernel/dma/Kconfig @@ -75,12 +75,12 @@ config DMA_NONCOHERENT_MMAP bool config DMA_COHERENT_POOL + select GENERIC_ALLOCATOR bool config DMA_REMAP bool depends on MMU - select GENERIC_ALLOCATOR select DMA_NONCOHERENT_MMAP config DMA_DIRECT_REMAP