Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/vax Cleanups includes. Change <machine/XXX.h> ...



details:   https://anonhg.NetBSD.org/src/rev/532e3352dcae
branches:  trunk
changeset: 759691:532e3352dcae
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Dec 14 23:44:49 2010 +0000

description:
Cleanups includes.  Change <machine/XXX.h> to <sys/XXX.h>
Remove unneeded includes.

diffstat:

 sys/arch/vax/vax/autoconf.c          |  12 ++++--------
 sys/arch/vax/vax/bus_mem.c           |  13 ++++++-------
 sys/arch/vax/vax/cfl.c               |   7 +++----
 sys/arch/vax/vax/clock.c             |  12 +++++-------
 sys/arch/vax/vax/cmi.c               |  10 +++++-----
 sys/arch/vax/vax/compat_13_machdep.c |  33 +++++++--------------------------
 sys/arch/vax/vax/compat_16_machdep.c |  32 ++++++--------------------------
 sys/arch/vax/vax/conf.c              |   6 +++---
 sys/arch/vax/vax/core_machdep.c      |  18 ++----------------
 sys/arch/vax/vax/crl.c               |   8 ++++----
 sys/arch/vax/vax/ctu.c               |  19 +++++++++----------
 sys/arch/vax/vax/db_machdep.c        |  14 ++++++--------
 sys/arch/vax/vax/disksubr.c          |  11 +++++------
 sys/arch/vax/vax/gencons.c           |  18 ++++++++----------
 sys/arch/vax/vax/ibcs2_machdep.c     |   6 +++---
 sys/arch/vax/vax/ka410.c             |  15 ++++-----------
 sys/arch/vax/vax/ka43.c              |  15 ++++-----------
 sys/arch/vax/vax/ka46.c              |  15 ++++-----------
 sys/arch/vax/vax/ka48.c              |  13 +++----------
 sys/arch/vax/vax/ka49.c              |   6 +++---
 sys/arch/vax/vax/ka53.c              |   9 ++++-----
 sys/arch/vax/vax/ka610.c             |   9 ++++-----
 sys/arch/vax/vax/ka630.c             |  16 ++++++----------
 sys/arch/vax/vax/ka6400.c            |  16 +++++++---------
 sys/arch/vax/vax/ka650.c             |  16 ++++++----------
 sys/arch/vax/vax/ka660.c             |  15 ++++-----------
 sys/arch/vax/vax/ka670.c             |  15 ++++-----------
 sys/arch/vax/vax/ka680.c             |  12 ++++--------
 sys/arch/vax/vax/ka730.c             |  11 +++++------
 sys/arch/vax/vax/ka750.c             |  11 +++++------
 sys/arch/vax/vax/ka780.c             |  10 +++++-----
 sys/arch/vax/vax/ka820.c             |  17 ++++++-----------
 sys/arch/vax/vax/ka860.c             |   9 ++++-----
 sys/arch/vax/vax/ka88.c              |  16 ++++++----------
 sys/arch/vax/vax/locore.c            |  15 +++++----------
 sys/arch/vax/vax/machdep.c           |  34 ++++++++++++++--------------------
 sys/arch/vax/vax/multicpu.c          |  11 +++++------
 sys/arch/vax/vax/nmi_mainbus.c       |  13 +++++++------
 sys/arch/vax/vax/pmap.c              |  21 +++++++--------------
 sys/arch/vax/vax/sbi.c               |  11 +++++------
 sys/arch/vax/vax/scb.c               |   9 ++++-----
 sys/arch/vax/vax/sgmap.c             |   6 +++---
 sys/arch/vax/vax/sig_machdep.c       |  35 +++++------------------------------
 sys/arch/vax/vax/ubi.c               |  10 +++++-----
 sys/arch/vax/vax/vm_machdep.c        |  27 ++++++++-------------------
 sys/arch/vax/vax/xmi_mainbus.c       |  11 ++++++-----
 46 files changed, 238 insertions(+), 430 deletions(-)

diffs (truncated from 1743 to 300 lines):

diff -r 56b4fcad7ac0 -r 532e3352dcae sys/arch/vax/vax/autoconf.c
--- a/sys/arch/vax/vax/autoconf.c       Tue Dec 14 23:43:32 2010 +0000
+++ b/sys/arch/vax/vax/autoconf.c       Tue Dec 14 23:44:49 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.91 2010/07/01 19:50:12 ragge Exp $      */
+/*     $NetBSD: autoconf.c,v 1.92 2010/12/14 23:44:49 matt Exp $       */
 
 /*
  * Copyright (c) 1994 Ludd, University of Lule}, Sweden.
@@ -31,16 +31,16 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.91 2010/07/01 19:50:12 ragge Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.92 2010/12/14 23:44:49 matt Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_cputype.h"
 
 #include <sys/param.h>
-#include <sys/types.h>
 #include <sys/systm.h>
+#include <sys/bus.h>
+#include <sys/cpu.h>
 #include <sys/device.h>
-#include <sys/reboot.h>
 #include <sys/disk.h>
 #include <sys/buf.h>
 #include <sys/bufq.h>
@@ -49,10 +49,7 @@
 
 #include <uvm/uvm_extern.h>
 
-#include <machine/cpu.h>
 #include <machine/sid.h>
-#include <machine/param.h>
-#include <machine/vmparam.h>
 #include <machine/nexus.h>
 #include <machine/ioa.h>
 #include <machine/ka820.h>
@@ -60,7 +57,6 @@
 #include <machine/ka650.h>
 #include <machine/clock.h>
 #include <machine/rpb.h>
-#include <machine/bus.h>
 #include <machine/mainbus.h>
 
 #include <vax/vax/gencons.h>
diff -r 56b4fcad7ac0 -r 532e3352dcae sys/arch/vax/vax/bus_mem.c
--- a/sys/arch/vax/vax/bus_mem.c        Tue Dec 14 23:43:32 2010 +0000
+++ b/sys/arch/vax/vax/bus_mem.c        Tue Dec 14 23:44:49 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_mem.c,v 1.12 2005/11/24 13:08:34 yamt Exp $ */
+/*     $NetBSD: bus_mem.c,v 1.13 2010/12/14 23:44:49 matt Exp $ */
 /*
  * Copyright (c) 1998 Matt Thomas
  * All rights reserved.
@@ -33,20 +33,19 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_mem.c,v 1.12 2005/11/24 13:08:34 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_mem.c,v 1.13 2010/12/14 23:44:49 matt Exp $");
 
 #include <sys/param.h>
+#include <sys/systm.h>
 #include <sys/types.h>
+#include <sys/cpu.h>
+#include <sys/bus.h>
 #include <sys/device.h>
+#include <sys/intr.h>
 #include <sys/kernel.h>
-#include <sys/systm.h>
 
 #include <uvm/uvm_extern.h>
 
-#include <machine/cpu.h>
-#include <machine/pmap.h>
-#include <machine/bus.h>
-#include <machine/intr.h>
 
 static int
 vax_mem_bus_space_map(
diff -r 56b4fcad7ac0 -r 532e3352dcae sys/arch/vax/vax/cfl.c
--- a/sys/arch/vax/vax/cfl.c    Tue Dec 14 23:43:32 2010 +0000
+++ b/sys/arch/vax/vax/cfl.c    Tue Dec 14 23:44:49 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cfl.c,v 1.19 2009/11/21 04:45:39 rmind Exp $   */
+/*     $NetBSD: cfl.c,v 1.20 2010/12/14 23:44:49 matt Exp $    */
 /*-
  * Copyright (c) 1982, 1986 The Regents of the University of California.
  * All rights reserved.
@@ -71,16 +71,15 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cfl.c,v 1.19 2009/11/21 04:45:39 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cfl.c,v 1.20 2010/12/14 23:44:49 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/conf.h>
+#include <sys/cpu.h>
 #include <sys/proc.h>
 #include <sys/buf.h>
 
-#include <machine/cpu.h>
-#include <machine/mtpr.h>
 #include <machine/sid.h>
 #include <machine/scb.h>
 
diff -r 56b4fcad7ac0 -r 532e3352dcae sys/arch/vax/vax/clock.c
--- a/sys/arch/vax/vax/clock.c  Tue Dec 14 23:43:32 2010 +0000
+++ b/sys/arch/vax/vax/clock.c  Tue Dec 14 23:44:49 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clock.c,v 1.54 2010/11/19 03:31:24 uwe Exp $    */
+/*     $NetBSD: clock.c,v 1.55 2010/12/14 23:44:49 matt Exp $   */
 /*
  * Copyright (c) 1995 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -30,19 +30,17 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.54 2010/11/19 03:31:24 uwe Exp $");
+__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.55 2010/12/14 23:44:49 matt Exp $");
 
 #include <sys/param.h>
-#include <sys/kernel.h>
 #include <sys/systm.h>
+#include <sys/cpu.h>
+#include <sys/device.h>
 #include <sys/timetc.h>
-#include <sys/device.h>
+#include <sys/kernel.h>
 
-#include <machine/mtpr.h>
 #include <machine/sid.h>
 #include <machine/clock.h>
-#include <machine/cpu.h>
-#include <machine/uvax.h>
 
 #include "opt_cputype.h"
 
diff -r 56b4fcad7ac0 -r 532e3352dcae sys/arch/vax/vax/cmi.c
--- a/sys/arch/vax/vax/cmi.c    Tue Dec 14 23:43:32 2010 +0000
+++ b/sys/arch/vax/vax/cmi.c    Tue Dec 14 23:44:49 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cmi.c,v 1.12 2010/07/01 19:50:12 ragge Exp $ */
+/*     $NetBSD: cmi.c,v 1.13 2010/12/14 23:44:49 matt Exp $ */
 /*
  * Copyright (c) 1999 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -31,15 +31,15 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cmi.c,v 1.12 2010/07/01 19:50:12 ragge Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cmi.c,v 1.13 2010/12/14 23:44:49 matt Exp $");
 
 #include <sys/param.h>
+#include <sys/systm.h>
+#include <sys/bus.h>
+#include <sys/cpu.h>
 #include <sys/device.h>
-#include <sys/systm.h>
 
-#include <machine/bus.h>
 #include <machine/nexus.h>
-#include <machine/cpu.h>
 #include <machine/sid.h>
 #include <machine/ka750.h>
 #include <machine/mainbus.h>
diff -r 56b4fcad7ac0 -r 532e3352dcae sys/arch/vax/vax/compat_13_machdep.c
--- a/sys/arch/vax/vax/compat_13_machdep.c      Tue Dec 14 23:43:32 2010 +0000
+++ b/sys/arch/vax/vax/compat_13_machdep.c      Tue Dec 14 23:44:49 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_13_machdep.c,v 1.2 2009/11/21 04:45:39 rmind Exp $      */
+/*     $NetBSD: compat_13_machdep.c,v 1.3 2010/12/14 23:44:49 matt Exp $       */
 
 /*
  * Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
@@ -83,7 +83,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_13_machdep.c,v 1.2 2009/11/21 04:45:39 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_13_machdep.c,v 1.3 2010/12/14 23:44:49 matt Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -95,41 +95,22 @@
 
 #include <sys/param.h>
 #include <sys/systm.h>
+#include <sys/cpu.h>
+#include <sys/device.h>
 #include <sys/extent.h>
 #include <sys/proc.h>
+#include <sys/signal.h>
+#include <sys/syscallargs.h>
+#include <sys/sysctl.h>
 #include <sys/time.h>
-#include <sys/signal.h>
-#include <sys/kernel.h>
-#include <sys/msgbuf.h>
-#include <sys/buf.h>
-#include <sys/mbuf.h>
-#include <sys/reboot.h>
-#include <sys/conf.h>
-#include <sys/device.h>
-#include <sys/exec.h>
-#include <sys/mount.h>
-#include <sys/syscallargs.h>
-#include <sys/ptrace.h>
-#include <sys/ksyms.h>
 
 #include <dev/cons.h>
 
 #include <compat/sys/signal.h>
 #include <compat/sys/signalvar.h>
 
-#include <uvm/uvm_extern.h>
-#include <sys/sysctl.h>
-
-#include <machine/sid.h>
-#include <machine/pte.h>
-#include <machine/mtpr.h>
-#include <machine/cpu.h>
 #include <machine/macros.h>
-#include <machine/trap.h>
 #include <machine/reg.h>
-#include <machine/db_machdep.h>
-#include <machine/scb.h>
-#include <machine/signal.h>
 #include <vax/vax/gencons.h>
 
 /*
diff -r 56b4fcad7ac0 -r 532e3352dcae sys/arch/vax/vax/compat_16_machdep.c
--- a/sys/arch/vax/vax/compat_16_machdep.c      Tue Dec 14 23:43:32 2010 +0000
+++ b/sys/arch/vax/vax/compat_16_machdep.c      Tue Dec 14 23:44:49 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_16_machdep.c,v 1.2 2009/11/21 04:45:39 rmind Exp $      */
+/*     $NetBSD: compat_16_machdep.c,v 1.3 2010/12/14 23:44:49 matt Exp $       */
 
 /*
  * Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
@@ -83,7 +83,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.2 2009/11/21 04:45:39 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.3 2010/12/14 23:44:49 matt Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ddb.h"
@@ -96,38 +96,18 @@
 
 #include <sys/param.h>
 #include <sys/systm.h>
-#include <sys/extent.h>
+#include <sys/cpu.h>
+#include <sys/device.h>
 #include <sys/proc.h>
-#include <sys/time.h>
 #include <sys/signal.h>
-#include <sys/kernel.h>
-#include <sys/msgbuf.h>
-#include <sys/buf.h>
-#include <sys/mbuf.h>
-#include <sys/reboot.h>
-#include <sys/conf.h>
-#include <sys/device.h>
-#include <sys/exec.h>
-#include <sys/mount.h>
 #include <sys/syscallargs.h>
-#include <sys/ptrace.h>
-#include <sys/ksyms.h>
+#include <sys/sysctl.h>
+#include <sys/time.h>
 
 #include <dev/cons.h>
 
-#include <uvm/uvm_extern.h>
-#include <sys/sysctl.h>
-
-#include <machine/sid.h>
-#include <machine/pte.h>
-#include <machine/mtpr.h>
-#include <machine/cpu.h>
 #include <machine/macros.h>
-#include <machine/trap.h>
 #include <machine/reg.h>
-#include <machine/db_machdep.h>
-#include <machine/scb.h>
-#include <machine/signal.h>
 #include <vax/vax/gencons.h>
 
 /*
diff -r 56b4fcad7ac0 -r 532e3352dcae sys/arch/vax/vax/conf.c



Home | Main Index | Thread Index | Old Index