kasan: close vmap if enabled kasan [1/1]

PD#SWPL-10141

Problem:
if opened kasan with vmap, there will be some wrong kasan reports

Solution:
close vmap if open kasan

Verify:
p212

Change-Id: I37cdcb26cfb6fe87529db1ece3b7740ac072ba1a
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
This commit is contained in:
Tao Zeng
2019-07-15 13:53:42 +08:00
committed by Jianxin Pan
parent b45e2bc0c1
commit 12dd9fafd9

View File

@@ -55,7 +55,7 @@ config AMLOGIC_KASAN32
config AMLOGIC_VMAP
bool "Amlogic kernel stack"
depends on AMLOGIC_MEMORY_EXTEND
depends on ARM64 || !KASAN
depends on !KASAN
default y
help
This config is used to enable amlogic kernel stack