bufhashinit() is called with a caddr_t and is expected to return the
same in both the alpha and i386 ports.
This commit is contained in:
parent
f1d6b4fb32
commit
e0a53d0c62
@ -11,7 +11,7 @@
|
||||
* 2. Absolutely no warranty of function or purpose is made by the author
|
||||
* John S. Dyson.
|
||||
*
|
||||
* $Id: vfs_bio.c,v 1.221 1999/07/08 06:05:52 mckusick Exp $
|
||||
* $Id: vfs_bio.c,v 1.222 1999/07/08 17:58:55 mckusick Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -286,8 +286,8 @@ bd_wakeup(int dirtybuflevel)
|
||||
* Initialize buffer headers and related structures.
|
||||
*/
|
||||
|
||||
vm_offset_t
|
||||
bufhashinit(vm_offset_t vaddr)
|
||||
caddr_t
|
||||
bufhashinit(caddr_t vaddr)
|
||||
{
|
||||
/* first, make a null hash table */
|
||||
for (bufhashmask = 8; bufhashmask < nbuf / 4; bufhashmask <<= 1)
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)buf.h 8.9 (Berkeley) 3/30/95
|
||||
* $Id: buf.h,v 1.75 1999/07/04 00:25:32 mckusick Exp $
|
||||
* $Id: buf.h,v 1.76 1999/07/08 06:05:58 mckusick Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_BUF_H_
|
||||
@ -446,7 +446,7 @@ extern TAILQ_HEAD(bqueues, buf) bufqueues[BUFFER_QUEUES];
|
||||
|
||||
struct uio;
|
||||
|
||||
vm_offset_t bufhashinit __P((vm_offset_t));
|
||||
caddr_t bufhashinit __P((caddr_t));
|
||||
void bufinit __P((void));
|
||||
void bwillwrite __P((void));
|
||||
void bremfree __P((struct buf *));
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)buf.h 8.9 (Berkeley) 3/30/95
|
||||
* $Id: buf.h,v 1.75 1999/07/04 00:25:32 mckusick Exp $
|
||||
* $Id: buf.h,v 1.76 1999/07/08 06:05:58 mckusick Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_BUF_H_
|
||||
@ -446,7 +446,7 @@ extern TAILQ_HEAD(bqueues, buf) bufqueues[BUFFER_QUEUES];
|
||||
|
||||
struct uio;
|
||||
|
||||
vm_offset_t bufhashinit __P((vm_offset_t));
|
||||
caddr_t bufhashinit __P((caddr_t));
|
||||
void bufinit __P((void));
|
||||
void bwillwrite __P((void));
|
||||
void bremfree __P((struct buf *));
|
||||
|
Loading…
Reference in New Issue
Block a user