kernel: abolish _default_esf

NANO_ESF parameters may now be NULL, indicating that no
exception frame is available.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2019-07-15 15:22:29 -07:00 committed by Andrew Boie
commit 5623637a48
17 changed files with 58 additions and 141 deletions

View file

@ -4658,7 +4658,7 @@ extern void z_sys_power_save_idle_exit(s32_t ticks);
*/
#define z_except_reason(reason) do { \
printk("@ %s:%d:\n", __FILE__, __LINE__); \
z_fatal_error(reason, &_default_esf); \
z_fatal_error(reason, NULL); \
} while (false)
#endif /* _ARCH__EXCEPT */