Source-Changes-HG archive

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

[src/trunk]: src/sys/compat remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uv...



details:   https://anonhg.NetBSD.org/src/rev/b9548ce0f2cd
branches:  trunk
changeset: 493986:b9548ce0f2cd
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Jun 28 15:39:24 2000 +0000

description:
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

diffstat:

 sys/compat/common/compat_exec.c          |  3 +--
 sys/compat/common/kern_exit_43.c         |  4 +---
 sys/compat/common/kern_info_09.c         |  4 ++--
 sys/compat/common/kern_info_43.c         |  6 ++----
 sys/compat/common/kern_ipc_10.c          |  4 +---
 sys/compat/common/kern_resource_43.c     |  4 +---
 sys/compat/common/kern_sig_43.c          |  3 +--
 sys/compat/common/vm_43.c                |  4 +---
 sys/compat/freebsd/freebsd_exec.c        |  3 +--
 sys/compat/freebsd/freebsd_ipc.c         |  4 +---
 sys/compat/hpux/hpux_compat.c            |  4 +---
 sys/compat/hpux/hpux_exec.c              |  4 +---
 sys/compat/ibcs2/ibcs2_exec.c            |  4 +---
 sys/compat/ibcs2/ibcs2_ipc.c             |  4 +---
 sys/compat/ibcs2/ibcs2_misc.c            |  6 +++---
 sys/compat/ibcs2/ibcs2_stat.c            |  4 +---
 sys/compat/m68k4k/m68k4k_exec.c          |  4 +---
 sys/compat/netbsd32/netbsd32_compat_09.c |  4 ++--
 sys/compat/netbsd32/netbsd32_compat_10.c |  4 +---
 sys/compat/netbsd32/netbsd32_compat_43.c |  4 ++--
 sys/compat/netbsd32/netbsd32_exec.c      |  4 +---
 sys/compat/netbsd32/netbsd32_netbsd.c    |  4 +---
 sys/compat/osf1/osf1_cvt.c               |  3 +--
 sys/compat/osf1/osf1_descrip.c           |  3 +--
 sys/compat/osf1/osf1_file.c              |  3 +--
 sys/compat/osf1/osf1_misc.c              |  3 +--
 sys/compat/osf1/osf1_mmap.c              |  3 +--
 sys/compat/pecoff/pecoff_exec.c          |  4 +---
 sys/compat/sunos/sunos_exec.c            |  3 +--
 sys/compat/sunos/sunos_misc.c            |  4 +---
 sys/compat/svr4/svr4_exec.c              |  3 +--
 sys/compat/svr4/svr4_misc.c              |  4 +---
 sys/compat/svr4/svr4_stat.c              |  4 ++--
 sys/compat/ultrix/ultrix_fs.c            |  4 +---
 sys/compat/ultrix/ultrix_misc.c          |  4 +---
 sys/compat/vax1k/vax1k_exec.c            |  4 +---
 sys/compat/vax1k/vax1k_subr.c            |  4 +---
 37 files changed, 44 insertions(+), 98 deletions(-)

diffs (truncated from 662 to 300 lines):

diff -r 0c86104413dc -r b9548ce0f2cd sys/compat/common/compat_exec.c
--- a/sys/compat/common/compat_exec.c   Wed Jun 28 15:27:19 2000 +0000
+++ b/sys/compat/common/compat_exec.c   Wed Jun 28 15:39:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_exec.c,v 1.2 2000/04/11 04:37:48 chs Exp $      */
+/*     $NetBSD: compat_exec.c,v 1.3 2000/06/28 15:39:24 mrg Exp $      */
 
 /*
  * Copyright (c) 1993, 1994 Christopher G. Demetriou
@@ -37,7 +37,6 @@
 #include <sys/vnode.h>
 #include <sys/exec.h>
 #include <sys/resourcevar.h>
-#include <vm/vm.h>
 
 /*
  * exec_aout_prep_oldzmagic():
diff -r 0c86104413dc -r b9548ce0f2cd sys/compat/common/kern_exit_43.c
--- a/sys/compat/common/kern_exit_43.c  Wed Jun 28 15:27:19 2000 +0000
+++ b/sys/compat/common/kern_exit_43.c  Wed Jun 28 15:39:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_exit_43.c,v 1.5 2000/06/26 14:21:08 mrg Exp $     */
+/*     $NetBSD: kern_exit_43.c,v 1.6 2000/06/28 15:39:25 mrg Exp $     */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1991, 1993
@@ -67,8 +67,6 @@
 #include <machine/reg.h>
 #include <compat/common/compat_util.h>
 
-#include <vm/vm.h>
-
 #ifdef m68k
 #include <machine/psl.h>               /* only m68k ports use PSL_ALLCC */
 #include <machine/frame.h>
diff -r 0c86104413dc -r b9548ce0f2cd sys/compat/common/kern_info_09.c
--- a/sys/compat/common/kern_info_09.c  Wed Jun 28 15:27:19 2000 +0000
+++ b/sys/compat/common/kern_info_09.c  Wed Jun 28 15:39:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_info_09.c,v 1.6 2000/03/28 23:57:31 simonb Exp $  */
+/*     $NetBSD: kern_info_09.c,v 1.7 2000/06/28 15:39:25 mrg Exp $     */
 
 /*
  * Copyright (c) 1982, 1986, 1991, 1993
@@ -42,7 +42,7 @@
 #include <sys/proc.h>
 #include <sys/syslog.h>
 #include <sys/unistd.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
 #include <sys/sysctl.h>
 
 #include <sys/mount.h>
diff -r 0c86104413dc -r b9548ce0f2cd sys/compat/common/kern_info_43.c
--- a/sys/compat/common/kern_info_43.c  Wed Jun 28 15:27:19 2000 +0000
+++ b/sys/compat/common/kern_info_43.c  Wed Jun 28 15:39:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_info_43.c,v 1.11 2000/03/30 11:27:14 augustss Exp $       */
+/*     $NetBSD: kern_info_43.c,v 1.12 2000/06/28 15:39:25 mrg Exp $    */
 
 /*
  * Copyright (c) 1982, 1986, 1991, 1993
@@ -52,11 +52,9 @@
 #include <sys/unistd.h>
 #include <sys/resourcevar.h>
 
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
 #include <sys/sysctl.h>
 
-#include <uvm/uvm_extern.h>
-
 #include <sys/mount.h>
 #include <sys/syscallargs.h>
 
diff -r 0c86104413dc -r b9548ce0f2cd sys/compat/common/kern_ipc_10.c
--- a/sys/compat/common/kern_ipc_10.c   Wed Jun 28 15:27:19 2000 +0000
+++ b/sys/compat/common/kern_ipc_10.c   Wed Jun 28 15:39:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_ipc_10.c,v 1.10 2000/06/26 14:21:08 mrg Exp $     */
+/*     $NetBSD: kern_ipc_10.c,v 1.11 2000/06/28 15:39:25 mrg Exp $     */
 
 /*
  * Copyright (c) 1994 Adam Glass and Charles M. Hannum.  All rights reserved.
@@ -44,8 +44,6 @@
 
 #include <compat/common/compat_util.h>
 
-#include <vm/vm.h>
-
 #ifdef SYSVSEM
 int
 compat_10_sys_semsys(p, v, retval)
diff -r 0c86104413dc -r b9548ce0f2cd sys/compat/common/kern_resource_43.c
--- a/sys/compat/common/kern_resource_43.c      Wed Jun 28 15:27:19 2000 +0000
+++ b/sys/compat/common/kern_resource_43.c      Wed Jun 28 15:39:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_resource_43.c,v 1.7 2000/03/30 11:27:14 augustss Exp $    */
+/*     $NetBSD: kern_resource_43.c,v 1.8 2000/06/28 15:39:25 mrg Exp $ */
 
 /*-
  * Copyright (c) 1982, 1986, 1991, 1993
@@ -51,8 +51,6 @@
 #include <sys/mount.h>
 #include <sys/syscallargs.h>
 
-#include <vm/vm.h>
-
 /* ARGSUSED */
 int
 compat_43_sys_getrlimit(p, v, retval)
diff -r 0c86104413dc -r b9548ce0f2cd sys/compat/common/kern_sig_43.c
--- a/sys/compat/common/kern_sig_43.c   Wed Jun 28 15:27:19 2000 +0000
+++ b/sys/compat/common/kern_sig_43.c   Wed Jun 28 15:39:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_sig_43.c,v 1.12 2000/03/30 11:27:14 augustss Exp $        */
+/*     $NetBSD: kern_sig_43.c,v 1.13 2000/06/28 15:39:25 mrg Exp $     */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -62,7 +62,6 @@
 
 #include <machine/cpu.h>
 
-#include <vm/vm.h>
 #include <sys/user.h>          /* for coredump */
 
 void compat_43_sigmask_to_sigset __P((const int *, sigset_t *));
diff -r 0c86104413dc -r b9548ce0f2cd sys/compat/common/vm_43.c
--- a/sys/compat/common/vm_43.c Wed Jun 28 15:27:19 2000 +0000
+++ b/sys/compat/common/vm_43.c Wed Jun 28 15:39:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_43.c,v 1.5 2000/06/25 13:26:22 mrg Exp $    */
+/*     $NetBSD: vm_43.c,v 1.6 2000/06/28 15:39:25 mrg Exp $    */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -60,8 +60,6 @@
 
 #include <miscfs/specfs/specdev.h>
 
-#include <vm/vm.h>
-
 /* ARGSUSED */
 int
 compat_43_sys_getpagesize(p, v, retval)
diff -r 0c86104413dc -r b9548ce0f2cd sys/compat/freebsd/freebsd_exec.c
--- a/sys/compat/freebsd/freebsd_exec.c Wed Jun 28 15:27:19 2000 +0000
+++ b/sys/compat/freebsd/freebsd_exec.c Wed Jun 28 15:39:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: freebsd_exec.c,v 1.5 1999/10/25 13:55:07 kleink Exp $  */
+/*     $NetBSD: freebsd_exec.c,v 1.6 2000/06/28 15:39:26 mrg Exp $     */
 
 /*
  * Copyright (c) 1993, 1994 Christopher G. Demetriou
@@ -45,7 +45,6 @@
 # include <sys/exec_elf.h>
 #endif /* EXEC_ELF32 */
 #include <sys/resourcevar.h>
-#include <vm/vm.h>
 
 #include <machine/freebsd_machdep.h>
 
diff -r 0c86104413dc -r b9548ce0f2cd sys/compat/freebsd/freebsd_ipc.c
--- a/sys/compat/freebsd/freebsd_ipc.c  Wed Jun 28 15:27:19 2000 +0000
+++ b/sys/compat/freebsd/freebsd_ipc.c  Wed Jun 28 15:39:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: freebsd_ipc.c,v 1.6 2000/06/26 14:21:08 mrg Exp $      */
+/*     $NetBSD: freebsd_ipc.c,v 1.7 2000/06/28 15:39:26 mrg Exp $      */
 
 /*
  * Copyright (c) 1994 Adam Glass and Charles M. Hannum.  All rights reserved.
@@ -42,8 +42,6 @@
 #include <sys/mount.h>
 #include <sys/syscallargs.h>
 
-#include <vm/vm.h>
-
 #include <compat/freebsd/freebsd_syscallargs.h>
 
 #ifdef SYSVSEM
diff -r 0c86104413dc -r b9548ce0f2cd sys/compat/hpux/hpux_compat.c
--- a/sys/compat/hpux/hpux_compat.c     Wed Jun 28 15:27:19 2000 +0000
+++ b/sys/compat/hpux/hpux_compat.c     Wed Jun 28 15:39:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hpux_compat.c,v 1.49 2000/05/27 00:40:44 sommerfeld Exp $      */
+/*     $NetBSD: hpux_compat.c,v 1.50 2000/06/28 15:39:27 mrg Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -75,8 +75,6 @@
 #include <sys/user.h>
 #include <sys/mman.h>
 
-#include <vm/vm.h>
-
 #include <machine/cpu.h>
 #include <machine/reg.h>
 #include <machine/psl.h>
diff -r 0c86104413dc -r b9548ce0f2cd sys/compat/hpux/hpux_exec.c
--- a/sys/compat/hpux/hpux_exec.c       Wed Jun 28 15:27:19 2000 +0000
+++ b/sys/compat/hpux/hpux_exec.c       Wed Jun 28 15:39:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hpux_exec.c,v 1.15 2000/06/26 14:38:54 mrg Exp $       */
+/*     $NetBSD: hpux_exec.c,v 1.16 2000/06/28 15:39:27 mrg Exp $       */
 
 /*-
  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -82,8 +82,6 @@
 #include <sys/mman.h>
 #include <sys/stat.h>
 
-#include <vm/vm.h>
-
 #include <machine/cpu.h>
 #include <machine/reg.h>
 
diff -r 0c86104413dc -r b9548ce0f2cd sys/compat/ibcs2/ibcs2_exec.c
--- a/sys/compat/ibcs2/ibcs2_exec.c     Wed Jun 28 15:27:19 2000 +0000
+++ b/sys/compat/ibcs2/ibcs2_exec.c     Wed Jun 28 15:39:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ibcs2_exec.c,v 1.33 2000/06/28 00:14:44 matt Exp $     */
+/*     $NetBSD: ibcs2_exec.c,v 1.34 2000/06/28 15:39:28 mrg Exp $      */
 
 /*
  * Copyright (c) 1994, 1995, 1998 Scott Bartram
@@ -53,8 +53,6 @@
 #include <sys/mman.h>
 #include <sys/syscallargs.h>
 
-#include <vm/vm.h>
-
 #include <machine/cpu.h>
 #include <machine/reg.h>
 #include <machine/ibcs2_machdep.h>
diff -r 0c86104413dc -r b9548ce0f2cd sys/compat/ibcs2/ibcs2_ipc.c
--- a/sys/compat/ibcs2/ibcs2_ipc.c      Wed Jun 28 15:27:19 2000 +0000
+++ b/sys/compat/ibcs2/ibcs2_ipc.c      Wed Jun 28 15:39:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ibcs2_ipc.c,v 1.10 1999/08/25 04:52:06 thorpej Exp $   */
+/*     $NetBSD: ibcs2_ipc.c,v 1.11 2000/06/28 15:39:28 mrg Exp $       */
 
 /*
  * Copyright (c) 1995 Scott Bartram
@@ -57,8 +57,6 @@
 #include <sys/shm.h>
 #include <sys/syscallargs.h>
 
-#include <vm/vm.h>
-
 #include <compat/ibcs2/ibcs2_types.h>
 #include <compat/ibcs2/ibcs2_signal.h>
 #include <compat/ibcs2/ibcs2_syscallargs.h>
diff -r 0c86104413dc -r b9548ce0f2cd sys/compat/ibcs2/ibcs2_misc.c
--- a/sys/compat/ibcs2/ibcs2_misc.c     Wed Jun 28 15:27:19 2000 +0000
+++ b/sys/compat/ibcs2/ibcs2_misc.c     Wed Jun 28 15:39:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ibcs2_misc.c,v 1.47 2000/03/30 11:27:16 augustss Exp $ */
+/*     $NetBSD: ibcs2_misc.c,v 1.48 2000/06/28 15:39:28 mrg Exp $      */
 
 /*
  * Copyright (c) 1994, 1995, 1998 Scott Bartram
@@ -86,8 +86,8 @@
 
 #include <miscfs/specfs/specdev.h>
 
-#include <vm/vm.h>
-#include <sys/sysctl.h>                /* must be included after vm.h */
+#include <uvm/uvm_extern.h>
+#include <sys/sysctl.h>
 
 #if defined(__i386__)
 #include <i386/include/reg.h>
diff -r 0c86104413dc -r b9548ce0f2cd sys/compat/ibcs2/ibcs2_stat.c
--- a/sys/compat/ibcs2/ibcs2_stat.c     Wed Jun 28 15:27:19 2000 +0000
+++ b/sys/compat/ibcs2/ibcs2_stat.c     Wed Jun 28 15:39:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ibcs2_stat.c,v 1.14 2000/03/30 11:27:16 augustss Exp $ */
+/*     $NetBSD: ibcs2_stat.c,v 1.15 2000/06/28 15:39:28 mrg Exp $      */
 /*
  * Copyright (c) 1995, 1998 Scott Bartram
  * All rights reserved.
@@ -40,8 +40,6 @@
 #include <sys/vnode.h>
 #include <sys/syscallargs.h>
 
-#include <vm/vm.h>
-
 #include <compat/ibcs2/ibcs2_types.h>
 #include <compat/ibcs2/ibcs2_fcntl.h>
 #include <compat/ibcs2/ibcs2_signal.h>
diff -r 0c86104413dc -r b9548ce0f2cd sys/compat/m68k4k/m68k4k_exec.c
--- a/sys/compat/m68k4k/m68k4k_exec.c   Wed Jun 28 15:27:19 2000 +0000
+++ b/sys/compat/m68k4k/m68k4k_exec.c   Wed Jun 28 15:39:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: m68k4k_exec.c,v 1.4 2000/04/11 04:37:49 chs Exp $      */
+/*     $NetBSD: m68k4k_exec.c,v 1.5 2000/06/28 15:39:29 mrg Exp $      */
 
 /*
  * Copyright (c) 1993, 1994 Christopher G. Demetriou



Home | Main Index | Thread Index | Old Index