From: Catalin Marinas Date: Fri, 29 Aug 2008 17:31:21 +0000 (+0100) Subject: [ARM] 5232/1: Do not post-index STRT instruction in clear_user.S X-Git-Tag: v2.6.28-rc1~293^2~9^2~41 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9c23e5fefaaecd494925258084a31c8ff301ad03;p=linux-2.6-omap-h63xx.git [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: Catalin Marinas Signed-off-by: Russell King --- diff --git a/arch/arm/lib/clear_user.S b/arch/arm/lib/clear_user.S index 81041a3f8d5..4d6bc71231f 100644 --- a/arch/arm/lib/clear_user.S +++ b/arch/arm/lib/clear_user.S @@ -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)