summaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/bsdos/bsdos_exec.c4
-rw-r--r--sys/compat/common/compat_exec.c4
-rw-r--r--sys/compat/common/compat_util.h4
-rw-r--r--sys/compat/common/kern_exit_43.c4
-rw-r--r--sys/compat/common/kern_info_09.c4
-rw-r--r--sys/compat/common/kern_info_43.c4
-rw-r--r--sys/compat/common/kern_ipc_10.c4
-rw-r--r--sys/compat/common/kern_resource_43.c4
-rw-r--r--sys/compat/common/kern_sig_43.c4
-rw-r--r--sys/compat/common/vfs_syscalls_43.c4
-rw-r--r--sys/compat/common/vm_43.c4
-rw-r--r--sys/compat/freebsd/freebsd_exec.c4
-rw-r--r--sys/compat/hpux/hpux_exec.c4
-rw-r--r--sys/compat/ibcs2/ibcs2_exec.c4
-rw-r--r--sys/compat/ibcs2/ibcs2_ipc.c4
-rw-r--r--sys/compat/ibcs2/ibcs2_misc.c4
-rw-r--r--sys/compat/ibcs2/ibcs2_stat.c4
-rw-r--r--sys/compat/linux/linux_exec.c4
-rw-r--r--sys/compat/linux/linux_misc.c4
-rw-r--r--sys/compat/m68k4k/m68k4k_exec.c4
-rw-r--r--sys/compat/netbsd/netbsd_exec.c4
-rw-r--r--sys/compat/osf1/osf1_cvt.c4
-rw-r--r--sys/compat/osf1/osf1_mmap.c3
-rw-r--r--sys/compat/sunos/sunos_exec.c4
-rw-r--r--sys/compat/sunos/sunos_misc.c4
-rw-r--r--sys/compat/svr4/svr4_exec.c4
-rw-r--r--sys/compat/svr4/svr4_misc.c4
-rw-r--r--sys/compat/svr4/svr4_stat.c4
-rw-r--r--sys/compat/ultrix/ultrix_fs.c4
-rw-r--r--sys/compat/ultrix/ultrix_misc.c4
30 files changed, 58 insertions, 61 deletions
diff --git a/sys/compat/bsdos/bsdos_exec.c b/sys/compat/bsdos/bsdos_exec.c
index f5a6eadae7a..04e013c0435 100644
--- a/sys/compat/bsdos/bsdos_exec.c
+++ b/sys/compat/bsdos/bsdos_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bsdos_exec.c,v 1.3 2000/06/08 22:25:24 niklas Exp $ */
+/* $OpenBSD: bsdos_exec.c,v 1.4 2001/11/06 19:53:17 miod Exp $ */
/*
* Copyright (c) 1993, 1994 Christopher G. Demetriou
@@ -38,7 +38,7 @@
#include <sys/vnode.h>
#include <sys/exec.h>
#include <sys/resourcevar.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
#if 0
#include <machine/bsdos_machdep.h>
diff --git a/sys/compat/common/compat_exec.c b/sys/compat/common/compat_exec.c
index 0f938a21507..d22b2eace7c 100644
--- a/sys/compat/common/compat_exec.c
+++ b/sys/compat/common/compat_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: compat_exec.c,v 1.5 1999/11/26 16:44:27 art Exp $ */
+/* $OpenBSD: compat_exec.c,v 1.6 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: compat_exec.c,v 1.1 1996/05/18 15:52:21 christos Exp $ */
/*
@@ -38,7 +38,7 @@
#include <sys/vnode.h>
#include <sys/exec.h>
#include <sys/resourcevar.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
/*
* exec_aout_prep_oldzmagic():
diff --git a/sys/compat/common/compat_util.h b/sys/compat/common/compat_util.h
index 2acb1bf0efa..e08ef7f8754 100644
--- a/sys/compat/common/compat_util.h
+++ b/sys/compat/common/compat_util.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: compat_util.h,v 1.5 2001/08/12 20:33:50 mickey Exp $ */
+/* $OpenBSD: compat_util.h,v 1.6 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: compat_util.h,v 1.1 1995/06/24 20:16:05 christos Exp $ */
/*
@@ -33,7 +33,7 @@
#ifndef _COMPAT_UTIL_H_
#define _COMPAT_UTIL_H_
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
#include <sys/exec.h>
struct emul;
diff --git a/sys/compat/common/kern_exit_43.c b/sys/compat/common/kern_exit_43.c
index 3559fdbc0d3..586d96584af 100644
--- a/sys/compat/common/kern_exit_43.c
+++ b/sys/compat/common/kern_exit_43.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_exit_43.c,v 1.3 2001/09/11 20:05:25 miod Exp $ */
+/* $OpenBSD: kern_exit_43.c,v 1.4 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: kern_exit_43.c,v 1.3 1995/10/07 06:26:20 mycroft Exp $ */
/*
@@ -69,7 +69,7 @@
#include <machine/psl.h>
#include <compat/common/compat_util.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
#ifdef m68k
#include <machine/frame.h>
#define GETPS(rp) ((struct frame *)(rp))->f_sr
diff --git a/sys/compat/common/kern_info_09.c b/sys/compat/common/kern_info_09.c
index 88faa49a2fc..1c84d9e1a13 100644
--- a/sys/compat/common/kern_info_09.c
+++ b/sys/compat/common/kern_info_09.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_info_09.c,v 1.7 2001/05/16 05:07:51 millert Exp $ */
+/* $OpenBSD: kern_info_09.c,v 1.8 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: kern_info_09.c,v 1.5 1996/02/21 00:10:59 cgd Exp $ */
/*
@@ -43,7 +43,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 --git a/sys/compat/common/kern_info_43.c b/sys/compat/common/kern_info_43.c
index 099c651d70c..387c78cf3d0 100644
--- a/sys/compat/common/kern_info_43.c
+++ b/sys/compat/common/kern_info_43.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_info_43.c,v 1.10 2001/06/27 04:58:41 art Exp $ */
+/* $OpenBSD: kern_info_43.c,v 1.11 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: kern_info_43.c,v 1.5 1996/02/04 02:02:22 christos Exp $ */
/*
@@ -52,7 +52,7 @@
#include <sys/syslog.h>
#include <sys/unistd.h>
#include <sys/resourcevar.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
#include <sys/mount.h>
diff --git a/sys/compat/common/kern_ipc_10.c b/sys/compat/common/kern_ipc_10.c
index dab0cec8fdf..33ea5ac5a76 100644
--- a/sys/compat/common/kern_ipc_10.c
+++ b/sys/compat/common/kern_ipc_10.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_ipc_10.c,v 1.6 2001/08/11 23:14:22 art Exp $ */
+/* $OpenBSD: kern_ipc_10.c,v 1.7 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: kern_ipc_10.c,v 1.4 1995/10/07 06:26:25 mycroft Exp $ */
/*
@@ -41,7 +41,7 @@
#include <sys/mount.h>
#include <sys/syscallargs.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
/*
* Note that while we no longer have a COMPAT_10 kernel option,
diff --git a/sys/compat/common/kern_resource_43.c b/sys/compat/common/kern_resource_43.c
index 53cc1fd5d2f..0f5c77b6de9 100644
--- a/sys/compat/common/kern_resource_43.c
+++ b/sys/compat/common/kern_resource_43.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_resource_43.c,v 1.2 1996/04/18 21:21:33 niklas Exp $ */
+/* $OpenBSD: kern_resource_43.c,v 1.3 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: kern_resource_43.c,v 1.4 1996/03/14 19:31:46 christos Exp $ */
/*-
@@ -52,7 +52,7 @@
#include <sys/mount.h>
#include <sys/syscallargs.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
/* ARGSUSED */
int
diff --git a/sys/compat/common/kern_sig_43.c b/sys/compat/common/kern_sig_43.c
index 2e3d78712c7..06d0ba41e88 100644
--- a/sys/compat/common/kern_sig_43.c
+++ b/sys/compat/common/kern_sig_43.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sig_43.c,v 1.5 2001/05/16 05:07:51 millert Exp $ */
+/* $OpenBSD: kern_sig_43.c,v 1.6 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: kern_sig_43.c,v 1.7 1996/03/14 19:31:47 christos Exp $ */
/*
@@ -65,7 +65,7 @@
#include <machine/cpu.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
#include <sys/user.h> /* for coredump */
int
diff --git a/sys/compat/common/vfs_syscalls_43.c b/sys/compat/common/vfs_syscalls_43.c
index 0edb4c3a51f..976043be90c 100644
--- a/sys/compat/common/vfs_syscalls_43.c
+++ b/sys/compat/common/vfs_syscalls_43.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_syscalls_43.c,v 1.15 2001/10/26 12:03:27 art Exp $ */
+/* $OpenBSD: vfs_syscalls_43.c,v 1.16 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: vfs_syscalls_43.c,v 1.4 1996/03/14 19:31:52 christos Exp $ */
/*
@@ -63,7 +63,7 @@
#include <sys/mount.h>
#include <sys/syscallargs.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
#include <sys/pipe.h>
diff --git a/sys/compat/common/vm_43.c b/sys/compat/common/vm_43.c
index 150b328f046..1ac5dec6812 100644
--- a/sys/compat/common/vm_43.c
+++ b/sys/compat/common/vm_43.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_43.c,v 1.3 2001/08/11 22:57:56 art Exp $ */
+/* $OpenBSD: vm_43.c,v 1.4 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: vm_43.c,v 1.1 1996/02/05 01:58:29 christos Exp $ */
/*
@@ -62,7 +62,7 @@
#include <miscfs/specfs/specdev.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
/* ARGSUSED */
int
diff --git a/sys/compat/freebsd/freebsd_exec.c b/sys/compat/freebsd/freebsd_exec.c
index 26090b38769..27897a0ca09 100644
--- a/sys/compat/freebsd/freebsd_exec.c
+++ b/sys/compat/freebsd/freebsd_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: freebsd_exec.c,v 1.11 2001/09/19 13:28:43 art Exp $ */
+/* $OpenBSD: freebsd_exec.c,v 1.12 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: freebsd_exec.c,v 1.2 1996/05/18 16:02:08 christos Exp $ */
/*
@@ -38,7 +38,7 @@
#include <sys/vnode.h>
#include <sys/exec.h>
#include <sys/resourcevar.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
#include <sys/exec_elf.h>
#include <sys/exec_olf.h>
diff --git a/sys/compat/hpux/hpux_exec.c b/sys/compat/hpux/hpux_exec.c
index 248b7b34179..ed8d7bd2f2d 100644
--- a/sys/compat/hpux/hpux_exec.c
+++ b/sys/compat/hpux/hpux_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hpux_exec.c,v 1.12 2001/08/11 23:21:14 art Exp $ */
+/* $OpenBSD: hpux_exec.c,v 1.13 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: hpux_exec.c,v 1.8 1997/03/16 10:14:44 thorpej Exp $ */
/*
@@ -47,7 +47,7 @@
#include <sys/mman.h>
#include <sys/stat.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
#include <machine/cpu.h>
#include <machine/reg.h>
diff --git a/sys/compat/ibcs2/ibcs2_exec.c b/sys/compat/ibcs2/ibcs2_exec.c
index 23eb34e0d70..128cba7df4e 100644
--- a/sys/compat/ibcs2/ibcs2_exec.c
+++ b/sys/compat/ibcs2/ibcs2_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ibcs2_exec.c,v 1.10 1999/11/10 15:55:21 mickey Exp $ */
+/* $OpenBSD: ibcs2_exec.c,v 1.11 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: ibcs2_exec.c,v 1.12 1996/10/12 02:13:52 thorpej Exp $ */
/*
@@ -43,7 +43,7 @@
#include <sys/vnode.h>
#include <sys/resourcevar.h>
#include <sys/namei.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
#include <compat/ibcs2/ibcs2_types.h>
#include <compat/ibcs2/ibcs2_exec.h>
diff --git a/sys/compat/ibcs2/ibcs2_ipc.c b/sys/compat/ibcs2/ibcs2_ipc.c
index 43fe6ca1359..126f8ee8549 100644
--- a/sys/compat/ibcs2/ibcs2_ipc.c
+++ b/sys/compat/ibcs2/ibcs2_ipc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ibcs2_ipc.c,v 1.5 1997/01/23 16:12:17 niklas Exp $ */
+/* $OpenBSD: ibcs2_ipc.c,v 1.6 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: ibcs2_ipc.c,v 1.7 1997/01/18 01:51:41 mycroft Exp $ */
/*
@@ -56,7 +56,7 @@
#include <sys/shm.h>
#include <sys/syscallargs.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
#include <compat/ibcs2/ibcs2_types.h>
#include <compat/ibcs2/ibcs2_signal.h>
diff --git a/sys/compat/ibcs2/ibcs2_misc.c b/sys/compat/ibcs2/ibcs2_misc.c
index aaa99ab480e..8688ded925e 100644
--- a/sys/compat/ibcs2/ibcs2_misc.c
+++ b/sys/compat/ibcs2/ibcs2_misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ibcs2_misc.c,v 1.18 2001/07/10 11:07:25 espie Exp $ */
+/* $OpenBSD: ibcs2_misc.c,v 1.19 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: ibcs2_misc.c,v 1.23 1997/01/15 01:37:49 perry Exp $ */
/*
@@ -86,7 +86,7 @@
#include <miscfs/specfs/specdev.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
#include <sys/sysctl.h> /* must be included after vm.h */
#include <i386/include/reg.h>
diff --git a/sys/compat/ibcs2/ibcs2_stat.c b/sys/compat/ibcs2/ibcs2_stat.c
index 9a076503551..97bba65505b 100644
--- a/sys/compat/ibcs2/ibcs2_stat.c
+++ b/sys/compat/ibcs2/ibcs2_stat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ibcs2_stat.c,v 1.5 2000/09/07 17:52:23 ericj Exp $ */
+/* $OpenBSD: ibcs2_stat.c,v 1.6 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: ibcs2_stat.c,v 1.5 1996/05/03 17:05:32 christos Exp $ */
/*
@@ -42,7 +42,7 @@
#include <sys/vnode.h>
#include <sys/syscallargs.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
#include <compat/ibcs2/ibcs2_types.h>
#include <compat/ibcs2/ibcs2_fcntl.h>
diff --git a/sys/compat/linux/linux_exec.c b/sys/compat/linux/linux_exec.c
index 350c153bf0f..b4b527827f9 100644
--- a/sys/compat/linux/linux_exec.c
+++ b/sys/compat/linux/linux_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_exec.c,v 1.17 2001/09/19 13:28:43 art Exp $ */
+/* $OpenBSD: linux_exec.c,v 1.18 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: linux_exec.c,v 1.13 1996/04/05 00:01:10 christos Exp $ */
/*
@@ -46,7 +46,7 @@
#include <sys/mman.h>
#include <sys/syscallargs.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
#include <machine/cpu.h>
#include <machine/reg.h>
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
index 00e55426536..091b1d7b089 100644
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_misc.c,v 1.38 2001/08/12 20:33:50 mickey Exp $ */
+/* $OpenBSD: linux_misc.c,v 1.39 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: linux_misc.c,v 1.27 1996/05/20 01:59:21 fvdl Exp $ */
/*
@@ -66,7 +66,7 @@
#include <sys/syscallargs.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
#include <compat/linux/linux_types.h>
#include <compat/linux/linux_fcntl.h>
diff --git a/sys/compat/m68k4k/m68k4k_exec.c b/sys/compat/m68k4k/m68k4k_exec.c
index ce2f79a46b7..f4563945c21 100644
--- a/sys/compat/m68k4k/m68k4k_exec.c
+++ b/sys/compat/m68k4k/m68k4k_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: m68k4k_exec.c,v 1.3 1999/11/26 16:44:28 art Exp $ */
+/* $OpenBSD: m68k4k_exec.c,v 1.4 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: m68k4k_exec.c,v 1.1 1996/09/10 22:01:20 thorpej Exp $ */
/*
@@ -54,7 +54,7 @@
#include <sys/exec.h>
#include <sys/resourcevar.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
#include <compat/m68k4k/m68k4k_exec.h>
diff --git a/sys/compat/netbsd/netbsd_exec.c b/sys/compat/netbsd/netbsd_exec.c
index 513a16b5b58..0999972b333 100644
--- a/sys/compat/netbsd/netbsd_exec.c
+++ b/sys/compat/netbsd/netbsd_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netbsd_exec.c,v 1.9 2001/09/21 15:55:08 art Exp $ */
+/* $OpenBSD: netbsd_exec.c,v 1.10 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: svr4_exec.c,v 1.16 1995/10/14 20:24:20 christos Exp $ */
/*
@@ -38,7 +38,7 @@
#include <sys/exec_olf.h>
#include <sys/mman.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
#include <machine/cpu.h>
#include <machine/reg.h>
diff --git a/sys/compat/osf1/osf1_cvt.c b/sys/compat/osf1/osf1_cvt.c
index d8c99097ee5..d96730a5b8d 100644
--- a/sys/compat/osf1/osf1_cvt.c
+++ b/sys/compat/osf1/osf1_cvt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: osf1_cvt.c,v 1.1 2000/08/04 15:47:54 ericj Exp $ */
+/* $OpenBSD: osf1_cvt.c,v 1.2 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: osf1_cvt.c,v 1.7 1999/06/26 01:23:23 cgd Exp $ */
/*
@@ -79,7 +79,7 @@
#include <sys/resource.h>
#include <sys/resourcevar.h>
#include <sys/wait.h>
-#include <vm/vm.h> /* XXX see mmap emulation */
+#include <uvm/uvm_extern.h> /* XXX see mmap emulation */
#include <nfs/rpcv2.h>
#include <nfs/nfsproto.h>
diff --git a/sys/compat/osf1/osf1_mmap.c b/sys/compat/osf1/osf1_mmap.c
index 590f9c3af8b..7592ed1e0df 100644
--- a/sys/compat/osf1/osf1_mmap.c
+++ b/sys/compat/osf1/osf1_mmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: osf1_mmap.c,v 1.3 2001/06/27 04:58:41 art Exp $ */
+/* $OpenBSD: osf1_mmap.c,v 1.4 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: osf1_mmap.c,v 1.5 2000/04/11 05:26:27 chs Exp $ */
/*
@@ -37,7 +37,6 @@
#include <sys/mman.h>
#include <sys/mount.h>
#include <sys/syscallargs.h>
-#include <vm/vm.h>
#include <uvm/uvm.h>
#include <compat/osf1/osf1.h>
diff --git a/sys/compat/sunos/sunos_exec.c b/sys/compat/sunos/sunos_exec.c
index dd7b9da79f6..a975051308f 100644
--- a/sys/compat/sunos/sunos_exec.c
+++ b/sys/compat/sunos/sunos_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sunos_exec.c,v 1.13 2001/09/11 20:05:25 miod Exp $ */
+/* $OpenBSD: sunos_exec.c,v 1.14 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: sunos_exec.c,v 1.11 1996/05/05 12:01:47 briggs Exp $ */
/*
@@ -44,7 +44,7 @@
#include <sys/wait.h>
#include <sys/mman.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
#include <machine/cpu.h>
#include <machine/reg.h>
diff --git a/sys/compat/sunos/sunos_misc.c b/sys/compat/sunos/sunos_misc.c
index cb4a962dad5..6e92dd5c68b 100644
--- a/sys/compat/sunos/sunos_misc.c
+++ b/sys/compat/sunos/sunos_misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sunos_misc.c,v 1.29 2001/10/31 10:56:10 art Exp $ */
+/* $OpenBSD: sunos_misc.c,v 1.30 2001/11/06 19:53:17 miod Exp $ */
/* $NetBSD: sunos_misc.c,v 1.65 1996/04/22 01:44:31 christos Exp $ */
/*
@@ -101,7 +101,7 @@
#include <nfs/nfsproto.h>
#include <nfs/nfs.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
#ifdef sun3
# include <machine/machdep.h> /* for prototype of reboot2() */
diff --git a/sys/compat/svr4/svr4_exec.c b/sys/compat/svr4/svr4_exec.c
index 257d5e36b43..33c77a100a6 100644
--- a/sys/compat/svr4/svr4_exec.c
+++ b/sys/compat/svr4/svr4_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: svr4_exec.c,v 1.12 2001/09/19 13:28:43 art Exp $ */
+/* $OpenBSD: svr4_exec.c,v 1.13 2001/11/06 19:53:18 miod Exp $ */
/* $NetBSD: svr4_exec.c,v 1.16 1995/10/14 20:24:20 christos Exp $ */
/*
@@ -40,7 +40,7 @@
#include <sys/exec_olf.h>
#include <sys/mman.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
#include <machine/cpu.h>
#include <machine/reg.h>
diff --git a/sys/compat/svr4/svr4_misc.c b/sys/compat/svr4/svr4_misc.c
index b170785309b..9de5cf0e3ce 100644
--- a/sys/compat/svr4/svr4_misc.c
+++ b/sys/compat/svr4/svr4_misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: svr4_misc.c,v 1.35 2001/08/28 18:25:14 jason Exp $ */
+/* $OpenBSD: svr4_misc.c,v 1.36 2001/11/06 19:53:18 miod Exp $ */
/* $NetBSD: svr4_misc.c,v 1.42 1996/12/06 03:22:34 christos Exp $ */
/*
@@ -89,8 +89,6 @@
#include <compat/common/compat_dir.h>
-#include <vm/vm.h>
-
#include <uvm/uvm_extern.h>
static __inline clock_t timeval_to_clock_t __P((struct timeval *));
diff --git a/sys/compat/svr4/svr4_stat.c b/sys/compat/svr4/svr4_stat.c
index ca4ad6476b4..af41622d988 100644
--- a/sys/compat/svr4/svr4_stat.c
+++ b/sys/compat/svr4/svr4_stat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: svr4_stat.c,v 1.19 2000/09/07 17:52:24 ericj Exp $ */
+/* $OpenBSD: svr4_stat.c,v 1.20 2001/11/06 19:53:18 miod Exp $ */
/* $NetBSD: svr4_stat.c,v 1.21 1996/04/22 01:16:07 christos Exp $ */
/*
@@ -43,7 +43,7 @@
#include <sys/time.h>
#include <sys/ucred.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
#include <sys/syscallargs.h>
diff --git a/sys/compat/ultrix/ultrix_fs.c b/sys/compat/ultrix/ultrix_fs.c
index 975a3e1f287..1c36b2910ef 100644
--- a/sys/compat/ultrix/ultrix_fs.c
+++ b/sys/compat/ultrix/ultrix_fs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ultrix_fs.c,v 1.5 1998/02/13 14:38:24 deraadt Exp $ */
+/* $OpenBSD: ultrix_fs.c,v 1.6 2001/11/06 19:53:18 miod Exp $ */
/* $NetBSD: ultrix_fs.c,v 1.4 1996/04/07 17:23:06 jonathan Exp $ */
/*
@@ -45,7 +45,7 @@
#include <sys/syscallargs.h>
#include <compat/ultrix/ultrix_syscallargs.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
#define ULTRIX_MAXPATHLEN 1024
diff --git a/sys/compat/ultrix/ultrix_misc.c b/sys/compat/ultrix/ultrix_misc.c
index f6885c3887b..c84f4dbed79 100644
--- a/sys/compat/ultrix/ultrix_misc.c
+++ b/sys/compat/ultrix/ultrix_misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ultrix_misc.c,v 1.21 2001/10/31 10:56:11 art Exp $ */
+/* $OpenBSD: ultrix_misc.c,v 1.22 2001/11/06 19:53:18 miod Exp $ */
/* $NetBSD: ultrix_misc.c,v 1.23 1996/04/07 17:23:04 jonathan Exp $ */
/*
@@ -123,7 +123,7 @@
#include <nfs/nfsproto.h>
#include <nfs/nfs.h>
-#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
#include <sys/conf.h> /* iszerodev() */
#include <sys/socketvar.h> /* sosetopt() */