summaryrefslogtreecommitdiff
path: root/arch/arm/lib/strrchr.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/lib/strrchr.S')
-rw-r--r--arch/arm/lib/strrchr.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/lib/strrchr.S b/arch/arm/lib/strrchr.S
index 302f20cd2423..d7a9440de6b8 100644
--- a/arch/arm/lib/strrchr.S
+++ b/arch/arm/lib/strrchr.S
@@ -18,6 +18,7 @@ ENTRY(strrchr)
mov r3, #0
1: ldrb r2, [r0], #1
teq r2, r1
+ it eq
subeq r3, r0, #1
teq r2, #0
bne 1b