git: a4c33d65f2f3 - main - mips: retire bzero

Mateusz Guzik mjg at FreeBSD.org
Mon Aug 23 18:38:18 UTC 2021


The branch main has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=a4c33d65f2f3d0f16e5824b320e226b0c9ba31af

commit a4c33d65f2f3d0f16e5824b320e226b0c9ba31af
Author:     Mateusz Guzik <mjg at FreeBSD.org>
AuthorDate: 2021-08-23 16:26:02 +0000
Commit:     Mateusz Guzik <mjg at FreeBSD.org>
CommitDate: 2021-08-23 18:38:05 +0000

    mips: retire bzero
    
    Unused since ba96f37758412151 ("Use __builtin for various mem* and b* (e.g. bzero)
    routines.")
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sys/mips/mips/support.S | 7 +++----
 1 file 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)


More information about the dev-commits-src-all mailing list