Skip to content

Commit

Permalink
[ARM] 5232/1: Do not post-index STRT instruction in clear_user.S
Browse files Browse the repository at this point in the history
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: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Catalin Marinas authored and Russell King committed Sep 1, 2008
1 parent 93ed397 commit 9c23e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/lib/clear_user.S
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ USER( strplt r2, [r0], #4)
USER( strnebt r2, [r0], #1)
USER( strnebt r2, [r0], #1)
tst r1, #1 @ x1 x0 x1 x0 x1 x0 x1
USER( strnebt r2, [r0], #1)
USER( strnebt r2, [r0])
mov r0, #0
ldmfd sp!, {r1, pc}
ENDPROC(__clear_user)
Expand Down

0 comments on commit 9c23e5f

Please sign in to comment.