mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-24 17:23:25 -05:00
dma-contiguous: fix the Kconfig entry for CONFIG_DMA_NUMA_CMA
It makes no sense to expose CONFIG_DMA_NUMA_CMA if CONFIG_NUMA is not enabled, and random config options shouldn't be default unless there is a good reason. Replace the default NUMA with a depends on to fix both issues. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Robin Murphy <roin.murphy@arm.com>
This commit is contained in:
parent
fb5a431559
commit
2dcdf8c18d
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ if DMA_CMA
|
|||
|
||||
config DMA_NUMA_CMA
|
||||
bool "Enable separate DMA Contiguous Memory Area for NUMA Node"
|
||||
default NUMA
|
||||
depends on NUMA
|
||||
help
|
||||
Enable this option to get numa CMA areas so that NUMA devices
|
||||
can get local memory by DMA coherent APIs.
|
||||
|
|
Loading…
Add table
Reference in a new issue