arc: fix update of ERET on exc return
This code path for returning from an exception wasn't updating ERET with ESF->pc, resulting in any updates to the PC by the fault handler being ignored. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
f9cd4995ff
commit
17282578a9
|
@ -149,6 +149,9 @@ _exc_return:
|
|||
#endif
|
||||
|
||||
_exc_return_from_exc:
|
||||
ld_s r0, [sp, ___isf_t_pc_OFFSET]
|
||||
sr r0, [_ARC_V2_ERET]
|
||||
|
||||
_pop_irq_stack_frame
|
||||
ld sp, [saved_value]
|
||||
rtie
|
||||
|
|
Loading…
Reference in a new issue