aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/lib/memchr.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/lib/memchr.S')
-rw-r--r--arch/arm/lib/memchr.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/memchr.S b/arch/arm/lib/memchr.S
index 1da86991d700..74a5bed6d999 100644
--- a/arch/arm/lib/memchr.S
+++ b/arch/arm/lib/memchr.S
@@ -22,5 +22,5 @@ ENTRY(memchr)
bne 1b
sub r0, r0, #1
2: movne r0, #0
- mov pc, lr
+ ret lr
ENDPROC(memchr)