arc: fix build failure missing arc_exc_saved_sp

Instantiate this in C domain instead.

Fixes: #15035

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2019-03-29 14:32:26 -07:00 committed by Anas Nashif
commit b4987a2c57
2 changed files with 1 additions and 5 deletions

View file

@ -21,7 +21,7 @@
#include <exc_handle.h>
#include <logging/log_ctrl.h>
extern u32_t arc_exc_saved_sp;
u32_t arc_exc_saved_sp;
#ifdef CONFIG_USERSPACE
Z_EXC_DECLARE(z_arch_user_string_nlen);

View file

@ -41,10 +41,6 @@ GTEXT(_irq_do_offload);
GDATA(exc_nest_count)
GDATA(arc_exc_saved_sWWp)
SECTION_VAR(BSS, arc_exc_saved_sp)
.balign 4
.word 0
/* the necessary stack size for exception handling */
#define EXCEPTION_STACK_SIZE 384