diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2020-06-27 12:50:50 +0200 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-07-30 11:37:37 -0700 |
commit | cbb3d91d3bcff7eae3e9c63ffa436fbb4c6c657e (patch) | |
tree | 1f91458fd74889d3c4bf8a42aa6b1ba09035c57e /arch/riscv | |
parent | 20d38f7c45a44e4b762b586a7bcacbc93ddb3153 (diff) | |
download | linux-cbb3d91d3bcff7eae3e9c63ffa436fbb4c6c657e.tar.bz2 |
riscv: Add kmemleak support
Tested using syzkaller in QEMU's riscv64 virt machine.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv')
-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 0b40449a2eae..b124ca4323bf 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -56,6 +56,7 @@ config RISCV select HAVE_ASM_MODVERSIONS select HAVE_CONTEXT_TRACKING select HAVE_COPY_THREAD_TLS + select HAVE_DEBUG_KMEMLEAK select HAVE_DMA_CONTIGUOUS if MMU select HAVE_EBPF_JIT if MMU select HAVE_FUTEX_CMPXCHG if FUTEX |