aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2021-08-23 16:26:02 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2021-08-23 18:38:05 +0000
commita4c33d65f2f3d0f16e5824b320e226b0c9ba31af (patch)
tree252d7de2c2177dd458538ea681c6265d3ed4451e
parent11cb9a096c505b5bc41b489aa9351a10a555e1d7 (diff)
mips: retire bzero
Unused since ba96f37758412151 ("Use __builtin for various mem* and b* (e.g. bzero) routines.") Sponsored by: Rubicon Communications, LLC ("Netgate")
-rw-r--r--sys/mips/mips/support.S7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/mips/mips/support.S b/sys/mips/mips/support.S
index 4cf1f750fdad..9fd5b919d89e 100644
--- a/sys/mips/mips/support.S
+++ b/sys/mips/mips/support.S
@@ -440,10 +440,9 @@ memsetsmallclr:
END(memset)
/*
- * bzero(s1, n)
+ * blkclr(s1, n)
*/
-LEAF(bzero)
-XLEAF(blkclr)
+LEAF(blkclr)
.set noreorder
blt a1, 12, smallclr # small amount to clear?
PTR_SUBU a3, zero, a0 # compute # bytes to word align address
@@ -471,7 +470,7 @@ smallclr:
2:
j ra
nop
-END(bzero)
+END(blkclr)
/*
* bit = ffs(value)