arch/arm: Resolving warnings for assembly instructions
arm/arm_saveusercontext.S:61: Warning: duplicated register (r14) in register list Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
This commit is contained in:
parent
dd631265c4
commit
d7de93f906
@ -58,7 +58,8 @@ up_saveusercontext:
|
||||
|
||||
/* Save r0~r14, store the return address as PC */
|
||||
|
||||
stmia r0!, {r0-r14, r14}
|
||||
stmia r0!, {r0-r14}
|
||||
str r14, [r0], #4
|
||||
|
||||
/* Save cpsr */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user