Commit 5dd552e6 authored by Wayne Ren's avatar Wayne Ren Committed by Maureen Helm
Browse files

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: default avatarWayne Ren <wei.ren@synopsys.com>
parent 144a4390
Loading
Loading
Loading
Loading
+1 −1
Changes for arch/arc/core/sys_fatal_error_handler.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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;
	}