aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/lib/strchr.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/lib/strchr.S')
-rw-r--r--arch/arm64/lib/strchr.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/lib/strchr.S b/arch/arm64/lib/strchr.S
index dae0cf5591f9..7c83091d1bcd 100644
--- a/arch/arm64/lib/strchr.S
+++ b/arch/arm64/lib/strchr.S
@@ -29,7 +29,7 @@
* Returns:
* x0 - address of first occurrence of 'c' or 0
*/
-ENTRY(strchr)
+WEAK(strchr)
and w1, w1, #0xff
1: ldrb w2, [x0], #1
cmp w2, w1