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>
This commit is contained in:
Tobias Klauser 2020-06-27 12:50:50 +02:00 committed by Palmer Dabbelt
parent 20d38f7c45
commit cbb3d91d3b
No known key found for this signature in database
GPG Key ID: 2E1319F35FBB1889

View File

@ -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