Skip to content
Commit 111f04a0 authored by Peng Chen's avatar Peng Chen Committed by Anas Nashif
Browse files

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: default avatarpeng1 chen <peng1.chen@intel.com>
parent e2835e26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment