aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/dma
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-06-18 17:23:31 +0200
committerChristoph Hellwig <hch@lst.de>2020-06-23 14:13:58 +0200
commitd07ae4c486908615ab336b987c7c367d132fd844 (patch)
tree9c3dd6cc33122734eaec63d82618b68ec5d8afc7 /kernel/dma
parentdma-direct: add missing set_memory_decrypted() for coherent mapping (diff)
downloadlinux-dev-d07ae4c486908615ab336b987c7c367d132fd844.tar.xz
linux-dev-d07ae4c486908615ab336b987c7c367d132fd844.zip
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 <lkp@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: David Rientjes <rientjes@google.com>
Diffstat (limited to 'kernel/dma')
-rw-r--r--kernel/dma/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/dma/Kconfig b/kernel/dma/Kconfig
index 14ef8e1bdefe..1da3f44f2565 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