summaryrefslogtreecommitdiffstats
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.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/strrchr.S b/arch/arm/lib/strrchr.S
index 302f20cd242..3cec1c7482c 100644
--- a/arch/arm/lib/strrchr.S
+++ b/arch/arm/lib/strrchr.S
@@ -22,5 +22,5 @@ ENTRY(strrchr)
teq r2, #0
bne 1b
mov r0, r3
- mov pc, lr
+ ret lr
ENDPROC(strrchr)