summaryrefslogtreecommitdiffstats
path: root/sys/sys/bio.h
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-12-28 23:34:30 +0000
committerdg <dg@FreeBSD.org>1995-12-28 23:34:30 +0000
commitf1d6b97db7bdec941e896a6faf5a7e81b5462977 (patch)
treeb78d1fd3da77365c8d145ba9f539c70125186a02 /sys/sys/bio.h
parent102fe26c6a99225063775f2d2056e2d663becf10 (diff)
downloadFreeBSD-src-f1d6b97db7bdec941e896a6faf5a7e81b5462977.zip
FreeBSD-src-f1d6b97db7bdec941e896a6faf5a7e81b5462977.tar.gz
Made bzero a function vector and added a 586/686 optimized version of
bzero. Deprecated blkclr (removed it). Removed some old cruft from cpufunc.h. The optimized bzero was submitted by Torbjorn Granlund <tege@matematik.su.se> The kernel adaption and other changes by me.
Diffstat (limited to 'sys/sys/bio.h')
-rw-r--r--sys/sys/bio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/bio.h b/sys/sys/bio.h
index c25eb6c..e0c260a 100644
--- a/sys/sys/bio.h
+++ b/sys/sys/bio.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)buf.h 8.7 (Berkeley) 1/21/94
- * $Id: buf.h,v 1.24 1995/11/20 12:35:16 phk Exp $
+ * $Id: buf.h,v 1.25 1995/12/11 04:57:20 dyson Exp $
*/
#ifndef _SYS_BUF_H_
@@ -179,7 +179,7 @@ extern TAILQ_HEAD(bqueues, buf) bufqueues[BUFFER_QUEUES];
* Zero out the buffer's data area.
*/
#define clrbuf(bp) { \
- blkclr((bp)->b_data, (u_int)(bp)->b_bcount); \
+ bzero((bp)->b_data, (u_int)(bp)->b_bcount); \
(bp)->b_resid = 0; \
}
OpenPOWER on IntegriCloud