Skip to content

Commit 864046c

Browse files
Alexandre Ghitipalmer-dabbelt
authored andcommitted
riscv: Unconditionnally select KASAN_VMALLOC if KASAN
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 <alexghiti@rivosinc.com> Reviewed-by: Björn Töpel <bjorn@rivosinc.com> Link: https://lore.kernel.org/r/20230203075232.274282-7-alexghiti@rivosinc.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent ecd7eba commit 864046c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/riscv/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ config RISCV
117117
select HAVE_RSEQ
118118
select IRQ_DOMAIN
119119
select IRQ_FORCED_THREADING
120+
select KASAN_VMALLOC if KASAN
120121
select MODULES_USE_ELF_RELA if MODULES
121122
select MODULE_SECTIONS if MODULES
122123
select OF

0 commit comments

Comments
 (0)