|
@@ -142,7 +142,7 @@
|
|
|
|
|
|
#ifdef CONFIG_ARC_CURR_IN_REG
|
|
#ifdef CONFIG_ARC_CURR_IN_REG
|
|
; Retrieve orig r25 and save it with rest of callee_regs
|
|
; Retrieve orig r25 and save it with rest of callee_regs
|
|
- ld.as r12, [r12, PT_user_r25]
|
|
|
|
|
|
+ ld r12, [r12, PT_user_r25]
|
|
PUSH r12
|
|
PUSH r12
|
|
#else
|
|
#else
|
|
PUSH r25
|
|
PUSH r25
|
|
@@ -198,7 +198,7 @@
|
|
|
|
|
|
; SP is back to start of pt_regs
|
|
; SP is back to start of pt_regs
|
|
#ifdef CONFIG_ARC_CURR_IN_REG
|
|
#ifdef CONFIG_ARC_CURR_IN_REG
|
|
- st.as r12, [sp, PT_user_r25]
|
|
|
|
|
|
+ st r12, [sp, PT_user_r25]
|
|
#endif
|
|
#endif
|
|
.endm
|
|
.endm
|
|
|
|
|