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:
zhangyuan21 2023-04-24 21:16:27 +08:00 committed by Xiang Xiao
parent dd631265c4
commit d7de93f906

View File

@ -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 */