From 5dd552e66bba49fc1a27ac60de53a524f6e95223 Mon Sep 17 00:00:00 2001 From: Wayne Ren Date: Thu, 7 Jun 2018 16:28:26 +0800 Subject: [PATCH] arch: arc: STACK_CHECK_FAIL of STACK_CHECK not hang the system Whether it should hang the system it not decided finally. But remove it here to let some tests pass. Fixes #8032 Signed-off-by: Wayne Ren --- arch/arc/core/sys_fatal_error_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arc/core/sys_fatal_error_handler.c b/arch/arc/core/sys_fatal_error_handler.c index 7c161f31937..6f367086990 100644 --- a/arch/arc/core/sys_fatal_error_handler.c +++ b/arch/arc/core/sys_fatal_error_handler.c @@ -43,7 +43,7 @@ __weak void _SysFatalErrorHandler(unsigned int reason, ARG_UNUSED(pEsf); #if !defined(CONFIG_SIMPLE_FATAL_ERROR_HANDLER) -#if defined(CONFIG_ARC_STACK_CHECKING) || defined(CONFIG_STACK_SENTINEL) +#if defined(CONFIG_STACK_SENTINEL) if (reason == _NANO_ERR_STACK_CHK_FAIL) { goto hang_system; }