arch: arm: cortex_r: Use macro for svc call
Use the context switch macro for z_arm_cortex_r_svc to be more clear about the svc call being executed. Signed-off-by: Bradley Bolen <bbolen@lexmark.com>
This commit is contained in:
parent
b317ef89b1
commit
90e76bd891
|
@ -680,7 +680,7 @@ _oops:
|
|||
|
||||
GTEXT(z_arm_cortex_r_svc)
|
||||
SECTION_FUNC(TEXT, z_arm_cortex_r_svc)
|
||||
svc #0
|
||||
svc #_SVC_CALL_CONTEXT_SWITCH
|
||||
bx lr
|
||||
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue