aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorLad Prabhakar <[email protected]>2023-09-01 10:51:11 +0000
committerPalmer Dabbelt <[email protected]>2023-09-08 18:25:26 +0000
commite7ddd00eb3752b109e24eee19cb6b7421059d4db (patch)
treef712410e27e6325a5c6f116df0c18d6dd71eeff8 /tools/perf/builtin-script.c
parentMerge patch series "bpf, riscv: use BPF prog pack allocator in BPF JIT" (diff)
downloadkernel-e7ddd00eb3752b109e24eee19cb6b7421059d4db.tar.gz
kernel-e7ddd00eb3752b109e24eee19cb6b7421059d4db.zip
riscv: Kconfig: Select DMA_DIRECT_REMAP only if MMU is enabled
kernel/dma/mapping.c has its use of pgprot_dmacoherent() inside an #ifdef CONFIG_MMU block. kernel/dma/pool.c has its use of pgprot_dmacoherent() inside an #ifdef CONFIG_DMA_DIRECT_REMAP block. So select DMA_DIRECT_REMAP only if MMU is enabled for RISCV_DMA_NONCOHERENT config. This avoids users to explicitly select MMU. Suggested-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Lad Prabhakar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions