Skip to content

Commit d07ae4c

Browse files
author
Christoph Hellwig
committed
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: dbed452 ("dma-pool: decouple DMA_REMAP from DMA_COHERENT_POOL") Reported-by: kernel test robot <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Acked-by: David Rientjes <[email protected]>
1 parent 1a2b335 commit d07ae4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/dma/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ config DMA_NONCOHERENT_MMAP
7575
bool
7676

7777
config DMA_COHERENT_POOL
78+
select GENERIC_ALLOCATOR
7879
bool
7980

8081
config DMA_REMAP
8182
bool
8283
depends on MMU
83-
select GENERIC_ALLOCATOR
8484
select DMA_NONCOHERENT_MMAP
8585

8686
config DMA_DIRECT_REMAP

0 commit comments

Comments
 (0)