]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
dma-contiguous: fix the Kconfig entry for CONFIG_DMA_NUMA_CMA
authorChristoph Hellwig <hch@lst.de>
Wed, 30 Aug 2023 09:25:25 +0000 (11:25 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 30 Aug 2023 11:52:53 +0000 (13:52 +0200)
commit2dcdf8c18d5c1835571bfa40f40ac134c8a1f0f5
treea0274594b349e68e9a979b20067a80f9986bdf71
parentfb5a4315591dae307a65fc246ca80b5159d296e1
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>
kernel/dma/Kconfig