Commit d07ae4c4 authored by Christoph Hellwig's avatar Christoph Hellwig

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: dbed452a ("dma-pool: decouple DMA_REMAP from DMA_COHERENT_POOL")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarDavid Rientjes <rientjes@google.com>
parent 1a2b3357
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment