aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/lib/strchr.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/lib/strchr.S')
-rw-r--r--arch/arm/lib/strchr.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/lib/strchr.S b/arch/arm/lib/strchr.S
index 5b9b493733f..d8f2a1c1aea 100644
--- a/arch/arm/lib/strchr.S
+++ b/arch/arm/lib/strchr.S
@@ -23,4 +23,5 @@ ENTRY(strchr)
teq r2, r1
movne r0, #0
subeq r0, r0, #1
- RETINSTR(mov,pc,lr)
+ mov pc, lr
+ENDPROC(strchr)