diff --git a/src/arch/cpu/armv8/common/exc/prt_exc_init.c b/src/arch/cpu/armv8/common/exc/prt_exc_init.c index 48accd3c06ab54fa3554474fc5c082b15272163b..301fca604d5b4b88863007e44ae816352221172a 100644 --- a/src/arch/cpu/armv8/common/exc/prt_exc_init.c +++ b/src/arch/cpu/armv8/common/exc/prt_exc_init.c @@ -19,7 +19,7 @@ #endif #include "prt_log.h" #include "prt_stacktrace.h" -OS_SEC_BSS bool g_isOtherCoreExc[OS_VAR_ARRAY_NUM]; +OS_SEC_BSS bool g_isOtherCoreExc[OS_MAX_CORE_NUM]; #if defined(OS_OPTION_SMP) OS_SEC_BSS uintptr_t g_uniFlagAddr[OS_MAX_CORE_NUM];