]> Git Repo - linux.git/commitdiff
riscv: Unconditionnally select KASAN_VMALLOC if KASAN
authorAlexandre Ghiti <[email protected]>
Fri, 3 Feb 2023 07:52:32 +0000 (08:52 +0100)
committerPalmer Dabbelt <[email protected]>
Wed, 19 Apr 2023 14:24:54 +0000 (07:24 -0700)
If KASAN is enabled, VMAP_STACK depends on KASAN_VMALLOC so enable
KASAN_VMALLOC with KASAN so that we can enable VMAP_STACK by default.

Signed-off-by: Alexandre Ghiti <[email protected]>
Reviewed-by: Björn Töpel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
arch/riscv/Kconfig

index e2b656043abf31128571abb8329327cc1044e96f..0f226d3261caa65e5ec8515469f80353dc452f11 100644 (file)
@@ -117,6 +117,7 @@ config RISCV
        select HAVE_RSEQ
        select IRQ_DOMAIN
        select IRQ_FORCED_THREADING
+       select KASAN_VMALLOC if KASAN
        select MODULES_USE_ELF_RELA if MODULES
        select MODULE_SECTIONS if MODULES
        select OF
This page took 0.051498 seconds and 4 git commands to generate.