Commit 9c23e5fe authored by Catalin Marinas's avatar Catalin Marinas Committed by Russell King

[ARM] 5232/1: Do not post-index STRT instruction in clear_user.S

The last strnebt instruction has a post-index of 1 but the address
register is set to 0 in the next instruction, so no need for
post-indexing.
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 93ed3970
...@@ -41,7 +41,7 @@ USER( strplt r2, [r0], #4) ...@@ -41,7 +41,7 @@ USER( strplt r2, [r0], #4)
USER( strnebt r2, [r0], #1) USER( strnebt r2, [r0], #1)
USER( strnebt r2, [r0], #1) USER( strnebt r2, [r0], #1)
tst r1, #1 @ x1 x0 x1 x0 x1 x0 x1 tst r1, #1 @ x1 x0 x1 x0 x1 x0 x1
USER( strnebt r2, [r0], #1) USER( strnebt r2, [r0])
mov r0, #0 mov r0, #0
ldmfd sp!, {r1, pc} ldmfd sp!, {r1, pc}
ENDPROC(__clear_user) ENDPROC(__clear_user)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment