don't depend on other headers to include sys/proc.h for us.

This commit is contained in:
chs 2001-09-28 11:59:51 +00:00
parent 6778fe934d
commit 80373b7e54
22 changed files with 46 additions and 24 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ipifuncs.c,v 1.30 2001/07/15 16:42:18 thorpej Exp $ */
/* $NetBSD: ipifuncs.c,v 1.31 2001/09/28 11:59:51 chs Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@ -39,7 +39,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: ipifuncs.c,v 1.30 2001/07/15 16:42:18 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: ipifuncs.c,v 1.31 2001/09/28 11:59:51 chs Exp $");
/*
* Interprocessor interrupt handlers.
@ -47,6 +47,7 @@ __KERNEL_RCSID(0, "$NetBSD: ipifuncs.c,v 1.30 2001/07/15 16:42:18 thorpej Exp $"
#include <sys/param.h>
#include <sys/device.h>
#include <sys/proc.h>
#include <sys/systm.h>
#include <sys/reboot.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: bus_dma.c,v 1.9 2001/09/10 21:19:31 chris Exp $ */
/* $NetBSD: bus_dma.c,v 1.10 2001/09/28 11:59:51 chs Exp $ */
/* NetBSD: bus_dma.c,v 1.20 2000/01/10 03:24:36 simonb Exp */
/*-
@ -42,6 +42,7 @@
#include <sys/systm.h>
#include <sys/mbuf.h>
#include <sys/device.h>
#include <sys/proc.h>
#include <uvm/uvm_extern.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: opms.c,v 1.2 2001/09/16 16:34:28 wiz Exp $ */
/* $NetBSD: opms.c,v 1.3 2001/09/28 11:59:51 chs Exp $ */
/* $OpenBSD: pccons.c,v 1.22 1999/01/30 22:39:37 imp Exp $ */
/* NetBSD: pms.c,v 1.21 1995/04/18 02:25:18 mycroft Exp */
@ -50,6 +50,7 @@
#include <sys/poll.h>
#include <sys/tty.h>
#include <sys/device.h>
#include <sys/proc.h>
#include <machine/bus.h>
#include <machine/kbdreg.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: pccons.c,v 1.27 2001/06/13 15:05:44 soda Exp $ */
/* $NetBSD: pccons.c,v 1.28 2001/09/28 11:59:52 chs Exp $ */
/* $OpenBSD: pccons.c,v 1.22 1999/01/30 22:39:37 imp Exp $ */
/* NetBSD: pccons.c,v 1.89 1995/05/04 19:35:20 cgd Exp */
@ -60,6 +60,7 @@
#include <sys/kernel.h>
#include <sys/kcore.h>
#include <sys/device.h>
#include <sys/proc.h>
#include <machine/bus.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: jazzdmatlb.c,v 1.4 2000/12/24 09:25:29 ur Exp $ */
/* $NetBSD: jazzdmatlb.c,v 1.5 2001/09/28 11:59:52 chs Exp $ */
/* $OpenBSD: dma.c,v 1.5 1998/03/01 16:49:57 niklas Exp $ */
/*-
@ -37,6 +37,7 @@
#include <sys/malloc.h>
#include <sys/extent.h>
#include <sys/device.h>
#include <sys/proc.h>
#include <uvm/uvm_extern.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: bus_machdep.c,v 1.11 2001/09/10 21:19:15 chris Exp $ */
/* $NetBSD: bus_machdep.c,v 1.12 2001/09/28 11:59:52 chs Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@ -44,6 +44,7 @@
#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/extent.h>
#include <sys/proc.h>
#include <uvm/uvm_extern.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: bus_dma.c,v 1.31 2001/09/10 21:19:08 chris Exp $ */
/* $NetBSD: bus_dma.c,v 1.32 2001/09/28 11:59:52 chs Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@ -40,6 +40,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
#include <sys/proc.h>
#include <uvm/uvm_extern.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: interrupt.c,v 1.2 2001/08/27 02:00:19 nisimura Exp $ */
/* $NetBSD: interrupt.c,v 1.3 2001/09/28 11:59:52 chs Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -39,6 +39,7 @@
#include <sys/param.h>
#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/proc.h>
#include <uvm/uvm_extern.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: Locore.c,v 1.4 2000/06/29 07:44:04 mrg Exp $ */
/* $NetBSD: Locore.c,v 1.5 2001/09/28 11:59:53 chs Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@ -82,6 +82,7 @@
#include <sys/systm.h>
#include <sys/user.h>
#include <sys/sched.h>
#include <sys/proc.h>
#include <uvm/uvm_extern.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: sh3_machdep.c,v 1.18 2001/09/10 21:19:23 chris Exp $ */
/* $NetBSD: sh3_machdep.c,v 1.19 2001/09/28 11:59:53 chs Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@ -89,6 +89,7 @@
#include <sys/syscallargs.h>
#include <sys/systm.h>
#include <sys/user.h>
#include <sys/proc.h>
#ifdef KGDB
#include <sys/kgdb.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.153 2001/09/27 02:05:43 mrg Exp $ */
/* $NetBSD: autoconf.c,v 1.154 2001/09/28 11:59:53 chs Exp $ */
/*
* Copyright (c) 1996
@ -52,6 +52,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/map.h>
#include <sys/buf.h>
#include <sys/disklabel.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: iommu.c,v 1.57 2001/09/26 20:53:08 eeh Exp $ */
/* $NetBSD: iommu.c,v 1.58 2001/09/28 11:59:53 chs Exp $ */
/*
* Copyright (c) 1996
@ -42,6 +42,7 @@
#include <sys/queue.h>
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/proc.h>
#include <uvm/uvm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: iommu.c,v 1.40 2001/09/21 03:04:09 eeh Exp $ */
/* $NetBSD: iommu.c,v 1.41 2001/09/28 11:59:53 chs Exp $ */
/*
* Copyright (c) 1999, 2000 Matthew R. Green
@ -119,6 +119,7 @@
#include <sys/malloc.h>
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/proc.h>
#include <uvm/uvm_extern.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.112 2001/09/23 09:01:13 chs Exp $ */
/* $NetBSD: pmap.c,v 1.113 2001/09/28 11:59:54 chs Exp $ */
#undef NO_VCACHE /* Don't forget the locked TLB in dostart */
#define HWREF
/*
@ -39,6 +39,7 @@
#include <sys/exec.h>
#include <sys/core.h>
#include <sys/kcore.h>
#include <sys/proc.h>
#include <uvm/uvm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: conf.c,v 1.55 2001/06/22 16:40:51 lukem Exp $ */
/* $NetBSD: conf.c,v 1.56 2001/09/28 11:59:54 chs Exp $ */
/*-
* Copyright (c) 1982, 1986 The Regents of the University of California.
@ -42,6 +42,7 @@
#include <sys/tty.h>
#include <sys/conf.h>
#include <sys/vnode.h>
#include <machine/cpu.h>
#include "opt_cputype.h"

View File

@ -1,4 +1,4 @@
/* $NetBSD: locore.c,v 1.62 2001/09/18 16:41:25 ragge Exp $ */
/* $NetBSD: locore.c,v 1.63 2001/09/28 11:59:54 chs Exp $ */
/*
* Copyright (c) 1994, 1998 Ludd, University of Lule}, Sweden.
* All rights reserved.
@ -38,6 +38,7 @@
#include <sys/device.h>
#include <sys/systm.h>
#include <sys/user.h>
#include <sys/proc.h>
#include <uvm/uvm_extern.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: midway.c,v 1.53 2001/07/07 16:13:49 thorpej Exp $ */
/* $NetBSD: midway.c,v 1.54 2001/09/28 11:59:54 chs Exp $ */
/* (sync'd to midway.c 1.68) */
/*
@ -155,6 +155,7 @@
#include <sys/socket.h>
#include <sys/socketvar.h>
#include <sys/queue.h>
#include <sys/proc.h>
#include <net/if.h>
#include <net/if_atm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ip_auth.c,v 1.19 2001/03/26 06:13:12 mike Exp $ */
/* $NetBSD: ip_auth.c,v 1.20 2001/09/28 11:59:55 chs Exp $ */
/*
* Copyright (C) 1998-2000 by Darren Reed & Guido van Rooij.
@ -9,7 +9,7 @@
*/
#if !defined(lint)
#if defined(__NetBSD__)
static const char rcsid[] = "$NetBSD: ip_auth.c,v 1.19 2001/03/26 06:13:12 mike Exp $";
static const char rcsid[] = "$NetBSD: ip_auth.c,v 1.20 2001/09/28 11:59:55 chs Exp $";
#else
static const char rcsid[] = "@(#)Id: ip_auth.c,v 2.11.2.5 2001/01/10 06:18:35 darrenr Exp";
#endif
@ -20,6 +20,7 @@ static const char rcsid[] = "@(#)Id: ip_auth.c,v 2.11.2.5 2001/01/10 06:18:35 da
#include <sys/param.h>
#include <sys/time.h>
#include <sys/file.h>
#include <sys/proc.h>
#if !defined(_KERNEL) && !defined(KERNEL)
# include <stdio.h>
# include <stdlib.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ip_log.c,v 1.13 2001/03/26 06:13:13 mike Exp $ */
/* $NetBSD: ip_log.c,v 1.14 2001/09/28 11:59:55 chs Exp $ */
/*
* Copyright (C) 1997-2000 by Darren Reed.
@ -10,6 +10,7 @@
* Id: ip_log.c,v 2.5.2.2 2000/08/13 03:50:41 darrenr Exp
*/
#include <sys/param.h>
#include <sys/proc.h>
#if defined(KERNEL) && !defined(_KERNEL)
# define _KERNEL
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: lfs_alloc.c,v 1.49 2001/09/15 20:36:43 chs Exp $ */
/* $NetBSD: lfs_alloc.c,v 1.50 2001/09/28 11:59:55 chs Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@ -83,6 +83,7 @@
#include <sys/mount.h>
#include <sys/malloc.h>
#include <sys/pool.h>
#include <sys/proc.h>
#include <ufs/ufs/quota.h>
#include <ufs/ufs/inode.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: uvm_bio.c,v 1.18 2001/09/15 20:36:45 chs Exp $ */
/* $NetBSD: uvm_bio.c,v 1.19 2001/09/28 11:59:55 chs Exp $ */
/*
* Copyright (c) 1998 Chuck Silvers.
@ -41,6 +41,7 @@
#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/vnode.h>
#include <sys/proc.h>
#include <uvm/uvm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: uvm_page.c,v 1.67 2001/09/15 20:36:46 chs Exp $ */
/* $NetBSD: uvm_page.c,v 1.68 2001/09/28 11:59:55 chs Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@ -78,6 +78,7 @@
#include <sys/sched.h>
#include <sys/kernel.h>
#include <sys/vnode.h>
#include <sys/proc.h>
#define UVM_PAGE /* pull in uvm_page.h functions */
#include <uvm/uvm.h>