Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys don't depend on other headers to include sys/proc.h for us.



details:   https://anonhg.NetBSD.org/src/rev/9f22ce7f6efe
branches:  trunk
changeset: 515549:9f22ce7f6efe
user:      chs <chs%NetBSD.org@localhost>
date:      Fri Sep 28 11:59:51 2001 +0000

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

diffstat:

 sys/arch/alpha/alpha/ipifuncs.c  |  5 +++--
 sys/arch/arc/arc/bus_dma.c       |  3 ++-
 sys/arch/arc/dev/opms.c          |  3 ++-
 sys/arch/arc/dev/pccons.c        |  3 ++-
 sys/arch/arc/jazz/jazzdmatlb.c   |  3 ++-
 sys/arch/i386/i386/bus_machdep.c |  3 ++-
 sys/arch/pmax/pmax/bus_dma.c     |  3 ++-
 sys/arch/pmax/pmax/interrupt.c   |  3 ++-
 sys/arch/sh3/sh3/Locore.c        |  3 ++-
 sys/arch/sh3/sh3/sh3_machdep.c   |  3 ++-
 sys/arch/sparc/sparc/autoconf.c  |  3 ++-
 sys/arch/sparc/sparc/iommu.c     |  3 ++-
 sys/arch/sparc64/dev/iommu.c     |  3 ++-
 sys/arch/sparc64/sparc64/pmap.c  |  3 ++-
 sys/arch/vax/vax/conf.c          |  3 ++-
 sys/arch/vax/vax/locore.c        |  3 ++-
 sys/dev/ic/midway.c              |  3 ++-
 sys/netinet/ip_auth.c            |  5 +++--
 sys/netinet/ip_log.c             |  3 ++-
 sys/ufs/lfs/lfs_alloc.c          |  3 ++-
 sys/uvm/uvm_bio.c                |  3 ++-
 sys/uvm/uvm_page.c               |  3 ++-
 22 files changed, 46 insertions(+), 24 deletions(-)

diffs (truncated from 392 to 300 lines):

diff -r 2985df9da86b -r 9f22ce7f6efe sys/arch/alpha/alpha/ipifuncs.c
--- a/sys/arch/alpha/alpha/ipifuncs.c   Fri Sep 28 11:58:51 2001 +0000
+++ b/sys/arch/alpha/alpha/ipifuncs.c   Fri Sep 28 11:59:51 2001 +0000
@@ -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 @@
 
 #include <sys/param.h>
 #include <sys/device.h>
+#include <sys/proc.h>
 #include <sys/systm.h>
 #include <sys/reboot.h>
 
diff -r 2985df9da86b -r 9f22ce7f6efe sys/arch/arc/arc/bus_dma.c
--- a/sys/arch/arc/arc/bus_dma.c        Fri Sep 28 11:58:51 2001 +0000
+++ b/sys/arch/arc/arc/bus_dma.c        Fri Sep 28 11:59:51 2001 +0000
@@ -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>
 
diff -r 2985df9da86b -r 9f22ce7f6efe sys/arch/arc/dev/opms.c
--- a/sys/arch/arc/dev/opms.c   Fri Sep 28 11:58:51 2001 +0000
+++ b/sys/arch/arc/dev/opms.c   Fri Sep 28 11:59:51 2001 +0000
@@ -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>
diff -r 2985df9da86b -r 9f22ce7f6efe sys/arch/arc/dev/pccons.c
--- a/sys/arch/arc/dev/pccons.c Fri Sep 28 11:58:51 2001 +0000
+++ b/sys/arch/arc/dev/pccons.c Fri Sep 28 11:59:51 2001 +0000
@@ -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>
 
diff -r 2985df9da86b -r 9f22ce7f6efe sys/arch/arc/jazz/jazzdmatlb.c
--- a/sys/arch/arc/jazz/jazzdmatlb.c    Fri Sep 28 11:58:51 2001 +0000
+++ b/sys/arch/arc/jazz/jazzdmatlb.c    Fri Sep 28 11:59:51 2001 +0000
@@ -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>
 
diff -r 2985df9da86b -r 9f22ce7f6efe sys/arch/i386/i386/bus_machdep.c
--- a/sys/arch/i386/i386/bus_machdep.c  Fri Sep 28 11:58:51 2001 +0000
+++ b/sys/arch/i386/i386/bus_machdep.c  Fri Sep 28 11:59:51 2001 +0000
@@ -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>
 
diff -r 2985df9da86b -r 9f22ce7f6efe sys/arch/pmax/pmax/bus_dma.c
--- a/sys/arch/pmax/pmax/bus_dma.c      Fri Sep 28 11:58:51 2001 +0000
+++ b/sys/arch/pmax/pmax/bus_dma.c      Fri Sep 28 11:59:51 2001 +0000
@@ -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>
 
diff -r 2985df9da86b -r 9f22ce7f6efe sys/arch/pmax/pmax/interrupt.c
--- a/sys/arch/pmax/pmax/interrupt.c    Fri Sep 28 11:58:51 2001 +0000
+++ b/sys/arch/pmax/pmax/interrupt.c    Fri Sep 28 11:59:51 2001 +0000
@@ -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>
 
diff -r 2985df9da86b -r 9f22ce7f6efe sys/arch/sh3/sh3/Locore.c
--- a/sys/arch/sh3/sh3/Locore.c Fri Sep 28 11:58:51 2001 +0000
+++ b/sys/arch/sh3/sh3/Locore.c Fri Sep 28 11:59:51 2001 +0000
@@ -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>
 
diff -r 2985df9da86b -r 9f22ce7f6efe sys/arch/sh3/sh3/sh3_machdep.c
--- a/sys/arch/sh3/sh3/sh3_machdep.c    Fri Sep 28 11:58:51 2001 +0000
+++ b/sys/arch/sh3/sh3/sh3_machdep.c    Fri Sep 28 11:59:51 2001 +0000
@@ -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>
diff -r 2985df9da86b -r 9f22ce7f6efe sys/arch/sparc/sparc/autoconf.c
--- a/sys/arch/sparc/sparc/autoconf.c   Fri Sep 28 11:58:51 2001 +0000
+++ b/sys/arch/sparc/sparc/autoconf.c   Fri Sep 28 11:59:51 2001 +0000
@@ -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>
diff -r 2985df9da86b -r 9f22ce7f6efe sys/arch/sparc/sparc/iommu.c
--- a/sys/arch/sparc/sparc/iommu.c      Fri Sep 28 11:58:51 2001 +0000
+++ b/sys/arch/sparc/sparc/iommu.c      Fri Sep 28 11:59:51 2001 +0000
@@ -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>
 
diff -r 2985df9da86b -r 9f22ce7f6efe sys/arch/sparc64/dev/iommu.c
--- a/sys/arch/sparc64/dev/iommu.c      Fri Sep 28 11:58:51 2001 +0000
+++ b/sys/arch/sparc64/dev/iommu.c      Fri Sep 28 11:59:51 2001 +0000
@@ -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>
 
diff -r 2985df9da86b -r 9f22ce7f6efe sys/arch/sparc64/sparc64/pmap.c
--- a/sys/arch/sparc64/sparc64/pmap.c   Fri Sep 28 11:58:51 2001 +0000
+++ b/sys/arch/sparc64/sparc64/pmap.c   Fri Sep 28 11:59:51 2001 +0000
@@ -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>
 
diff -r 2985df9da86b -r 9f22ce7f6efe sys/arch/vax/vax/conf.c
--- a/sys/arch/vax/vax/conf.c   Fri Sep 28 11:58:51 2001 +0000
+++ b/sys/arch/vax/vax/conf.c   Fri Sep 28 11:59:51 2001 +0000
@@ -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"
 
diff -r 2985df9da86b -r 9f22ce7f6efe sys/arch/vax/vax/locore.c
--- a/sys/arch/vax/vax/locore.c Fri Sep 28 11:58:51 2001 +0000
+++ b/sys/arch/vax/vax/locore.c Fri Sep 28 11:59:51 2001 +0000
@@ -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>
 
diff -r 2985df9da86b -r 9f22ce7f6efe sys/dev/ic/midway.c
--- a/sys/dev/ic/midway.c       Fri Sep 28 11:58:51 2001 +0000
+++ b/sys/dev/ic/midway.c       Fri Sep 28 11:59:51 2001 +0000
@@ -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>
diff -r 2985df9da86b -r 9f22ce7f6efe sys/netinet/ip_auth.c
--- a/sys/netinet/ip_auth.c     Fri Sep 28 11:58:51 2001 +0000



Home | Main Index | Thread Index | Old Index