aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorLad Prabhakar <[email protected]>2023-09-01 11:51:11 +0100
committerPalmer Dabbelt <[email protected]>2023-09-08 11:25:26 -0700
commite7ddd00eb3752b109e24eee19cb6b7421059d4db (patch)
treef712410e27e6325a5c6f116df0c18d6dd71eeff8 /lib/test_fortify/write_overflow-memcpy.c
parent77eea559bae925e3cd3c5193efcd37675ec227df (diff)
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 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions