arc/swap: add operation to save register r0 value.
when enable tracing, the register r0 which saves the return value
of __swap will be changed by sys_trace_thread_switched_in function,
casuing some unexpected return value, so use the stack to save
register r0 value.
Signed-off-by:
peng1 chen <peng1.chen@intel.com>
Loading
Please sign in to comment