xtensa-asm2: Exception/interrupt handler should check stack sentinel

This got forgotten.  Note that this function is empty if
CONFIG_STACK_SENTINEL is unconfigured.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
This commit is contained in:
Andy Ross 2018-01-09 13:37:48 -08:00 committed by Anas Nashif
commit bbd7912a6b

View file

@ -152,6 +152,8 @@ static inline void *restore_stack(void *interrupted_stack)
irq_unlock(key);
_check_stack_sentinel();
return ret;
}
#endif