Skip to content

Commit 5dd552e

Browse files
Wayne RenMaureenHelm
authored andcommitted
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 <[email protected]>
1 parent 144a439 commit 5dd552e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arc/core/sys_fatal_error_handler.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ __weak void _SysFatalErrorHandler(unsigned int reason,
4343
ARG_UNUSED(pEsf);
4444

4545
#if !defined(CONFIG_SIMPLE_FATAL_ERROR_HANDLER)
46-
#if defined(CONFIG_ARC_STACK_CHECKING) || defined(CONFIG_STACK_SENTINEL)
46+
#if defined(CONFIG_STACK_SENTINEL)
4747
if (reason == _NANO_ERR_STACK_CHK_FAIL) {
4848
goto hang_system;
4949
}

0 commit comments

Comments
 (0)