mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 04:52:02 +08:00
arm64: exclude mpu from sanitize for SMP mode
CPU0 boot -> mm_init() -> sannitize on -> boot other CPUs CPU1 boot -> mpu_init -> error Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
@@ -76,6 +76,8 @@ endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_HAVE_MPU),y)
|
||||
CMN_CSRCS += arm64_mpu.c
|
||||
common/arm64_mpu.c_CFLAGS += -fno-sanitize=kernel-hwaddress
|
||||
common/arm64_mpu.c_CFLAGS += -fno-sanitize=kernel-address
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARM64_PSCI),y)
|
||||
|
||||
Reference in New Issue
Block a user