diff options
author | Alexandre Ghiti <[email protected]> | 2023-02-03 08:52:32 +0100 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2023-04-19 07:24:54 -0700 |
commit | 864046c512c2cd8418dc928b91981fb12a80396c (patch) | |
tree | d68c38f73272f7be897b893ad8ec1781855fadb1 | |
parent | ecd7ebaf0b5a094a6180b299a5635c0eea42be4b (diff) |
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 <[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]>
-rw-r--r-- | arch/riscv/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index e2b656043abf..0f226d3261ca 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -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 |