summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/lib/memset.S1
-rw-r--r--arch/mips64/lib/memset.S1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/lib/memset.S b/arch/mips/lib/memset.S
index 0340cc2a1..5868db88c 100644
--- a/arch/mips/lib/memset.S
+++ b/arch/mips/lib/memset.S
@@ -54,6 +54,7 @@ LEAF(memset)
1:
EXPORT(__bzero)
+ .type __bzero, @function
sltiu t0, a2, 4 /* very small region? */
bnez t0, small_memset
andi t0, a0, 3 /* aligned? */
diff --git a/arch/mips64/lib/memset.S b/arch/mips64/lib/memset.S
index ca5218210..fdb30700c 100644
--- a/arch/mips64/lib/memset.S
+++ b/arch/mips64/lib/memset.S
@@ -52,6 +52,7 @@ LEAF(memset)
1:
FEXPORT(__bzero)
+ .type __bzero, @function
sltiu t0, a2, 8 /* very small region? */
bnez t0, small_memset
andi t0, a0, 7 /* aligned? */