Minor tweaks to make sure (new) prerequisites for <sys/buf.h> (mostly

splbio()/splx()) are #included in time.
This commit is contained in:
Peter Wemm 1999-06-27 11:44:22 +00:00
parent 79db8f4587
commit e96c1fdc3f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=48274
7 changed files with 20 additions and 18 deletions

View File

@ -37,18 +37,18 @@
* SUCH DAMAGE.
*
* @(#)kern_sysctl.c 8.4 (Berkeley) 4/14/94
* $Id: kern_sysctl.c,v 1.87 1999/04/27 11:16:05 phk Exp $
* $Id: kern_sysctl.c,v 1.88 1999/04/28 11:37:00 phk Exp $
*/
#include "opt_compat.h"
#include <sys/param.h>
#include <sys/buf.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/buf.h>
#include <sys/sysctl.h>
#include <sys/malloc.h>
#include <sys/proc.h>
#include <sys/systm.h>
#include <sys/sysproto.h>
#include <vm/vm.h>
#include <vm/vm_extern.h>

View File

@ -31,10 +31,11 @@
* SUCH DAMAGE.
*
* @(#)kern_time.c 8.1 (Berkeley) 6/10/93
* $Id: kern_time.c,v 1.64 1999/04/07 19:48:09 nsayer Exp $
* $Id: kern_time.c,v 1.65 1999/04/27 11:16:07 phk Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/buf.h>
#include <sys/sysproto.h>
#include <sys/resourcevar.h>

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_subs.c 8.8 (Berkeley) 5/22/95
* $Id: nfs_subs.c,v 1.76 1999/06/23 04:44:12 julian Exp $
* $Id: nfs_subs.c,v 1.77 1999/06/26 02:46:30 mckusick Exp $
*/
/*
@ -43,10 +43,10 @@
* copy data between mbuf chains and uio lists.
*/
#include <sys/param.h>
#include <sys/buf.h>
#include <sys/proc.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/buf.h>
#include <sys/proc.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <sys/namei.h>

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_subs.c 8.8 (Berkeley) 5/22/95
* $Id: nfs_subs.c,v 1.76 1999/06/23 04:44:12 julian Exp $
* $Id: nfs_subs.c,v 1.77 1999/06/26 02:46:30 mckusick Exp $
*/
/*
@ -43,10 +43,10 @@
* copy data between mbuf chains and uio lists.
*/
#include <sys/param.h>
#include <sys/buf.h>
#include <sys/proc.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/buf.h>
#include <sys/proc.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <sys/namei.h>

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_subs.c 8.8 (Berkeley) 5/22/95
* $Id: nfs_subs.c,v 1.76 1999/06/23 04:44:12 julian Exp $
* $Id: nfs_subs.c,v 1.77 1999/06/26 02:46:30 mckusick Exp $
*/
/*
@ -43,10 +43,10 @@
* copy data between mbuf chains and uio lists.
*/
#include <sys/param.h>
#include <sys/buf.h>
#include <sys/proc.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/buf.h>
#include <sys/proc.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <sys/namei.h>

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_subs.c 8.8 (Berkeley) 5/22/95
* $Id: nfs_subs.c,v 1.76 1999/06/23 04:44:12 julian Exp $
* $Id: nfs_subs.c,v 1.77 1999/06/26 02:46:30 mckusick Exp $
*/
/*
@ -43,10 +43,10 @@
* copy data between mbuf chains and uio lists.
*/
#include <sys/param.h>
#include <sys/buf.h>
#include <sys/proc.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/buf.h>
#include <sys/proc.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <sys/namei.h>

View File

@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: vm_pager.c,v 1.47 1999/05/06 20:00:34 phk Exp $
* $Id: vm_pager.c,v 1.48 1999/06/26 02:46:48 mckusick Exp $
*/
/*
@ -339,7 +339,8 @@ vm_pager_object_lookup(pg_list, handle)
*/
static void
initpbuf(struct buf *bp) {
initpbuf(struct buf *bp)
{
bp->b_rcred = NOCRED;
bp->b_wcred = NOCRED;
bp->b_qindex = QUEUE_NONE;