remove include of <vm/vm.h>

This commit is contained in:
mrg 2000-06-27 17:41:07 +00:00
parent dea44a9ec4
commit 32aa199ccf
38 changed files with 49 additions and 99 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: exec_aout.c,v 1.17 2000/06/13 06:21:51 chs Exp $ */
/* $NetBSD: exec_aout.c,v 1.18 2000/06/27 17:41:07 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_makecmds(): Check if it's an a.out-format executable.

View File

@ -1,4 +1,4 @@
/* $NetBSD: exec_ecoff.c,v 1.11 2000/04/11 04:37:50 chs Exp $ */
/* $NetBSD: exec_ecoff.c,v 1.12 2000/06/27 17:41:08 mrg Exp $ */
/*
* Copyright (c) 1994 Adam Glass
@ -39,7 +39,6 @@
#include <sys/vnode.h>
#include <sys/exec.h>
#include <sys/resourcevar.h>
#include <vm/vm.h>
#include <sys/exec_ecoff.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: exec_elf32.c,v 1.50 2000/06/26 14:38:54 mrg Exp $ */
/* $NetBSD: exec_elf32.c,v 1.51 2000/06/27 17:41:09 mrg Exp $ */
/*-
* Copyright (c) 1994 The NetBSD Foundation, Inc.
@ -91,7 +91,6 @@
#include <sys/stat.h>
#include <sys/mman.h>
#include <vm/vm.h>
#include <machine/cpu.h>
#include <machine/reg.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: exec_elf_common.c,v 1.9 2000/06/26 14:38:54 mrg Exp $ */
/* $NetBSD: exec_elf_common.c,v 1.10 2000/06/27 17:41:10 mrg Exp $ */
/*-
* Copyright (c) 1994 The NetBSD Foundation, Inc.
@ -52,7 +52,6 @@
#include <sys/resourcevar.h>
#include <sys/mman.h>
#include <vm/vm.h>
#include <machine/cpu.h>
#include <machine/reg.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: exec_script.c,v 1.23 2000/02/01 01:23:29 assar Exp $ */
/* $NetBSD: exec_script.c,v 1.24 2000/06/27 17:41:11 mrg Exp $ */
/*
* Copyright (c) 1993, 1994, 1996 Christopher G. Demetriou
@ -47,7 +47,6 @@
#include <sys/filedesc.h>
#include <sys/exec.h>
#include <sys/resourcevar.h>
#include <vm/vm.h>
#include <sys/exec_script.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: exec_subr.c,v 1.19 2000/06/21 05:41:07 matt Exp $ */
/* $NetBSD: exec_subr.c,v 1.20 2000/06/27 17:41:12 mrg Exp $ */
/*
* Copyright (c) 1993, 1994, 1996 Christopher G. Demetriou
@ -39,8 +39,6 @@
#include <sys/exec.h>
#include <sys/mman.h>
#include <vm/vm.h>
#include <uvm/uvm.h>
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: init_main.c,v 1.173 2000/06/25 13:49:33 mrg Exp $ */
/* $NetBSD: init_main.c,v 1.174 2000/06/27 17:41:12 mrg Exp $ */
/*
* Copyright (c) 1995 Christopher G. Demetriou. All rights reserved.
@ -101,7 +101,6 @@
#include <machine/cpu.h>
#include <vm/vm.h>
#include <uvm/uvm.h>
#include <net/if.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_allocsys.c,v 1.11 2000/06/26 14:21:14 mrg Exp $ */
/* $NetBSD: kern_allocsys.c,v 1.12 2000/06/27 17:41:14 mrg Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -88,8 +88,6 @@
#include <sys/shm.h>
#endif
#include <vm/vm.h>
/*
* Declare these as initialized data so we can patch them.
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_clock.c,v 1.60 2000/06/03 20:42:42 thorpej Exp $ */
/* $NetBSD: kern_clock.c,v 1.61 2000/06/27 17:41:15 mrg Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -87,7 +87,7 @@
#include <sys/proc.h>
#include <sys/resourcevar.h>
#include <sys/signalvar.h>
#include <vm/vm.h>
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
#include <sys/timex.h>
#include <sys/sched.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_descrip.c,v 1.67 2000/05/26 23:10:36 sommerfeld Exp $ */
/* $NetBSD: kern_descrip.c,v 1.68 2000/06/27 17:41:16 mrg Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1991, 1993
@ -62,8 +62,6 @@
#include <sys/mount.h>
#include <sys/syscallargs.h>
#include <vm/vm.h>
/*
* Descriptor management.
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_exec.c,v 1.112 2000/06/26 14:21:14 mrg Exp $ */
/* $NetBSD: kern_exec.c,v 1.113 2000/06/27 17:41:17 mrg Exp $ */
/*-
* Copyright (C) 1993, 1994, 1996 Christopher G. Demetriou
@ -55,8 +55,6 @@
#include <sys/syscallargs.h>
#include <vm/vm.h>
#include <uvm/uvm_extern.h>
#include <machine/cpu.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_exit.c,v 1.80 2000/06/26 14:21:14 mrg Exp $ */
/* $NetBSD: kern_exit.c,v 1.81 2000/06/27 17:41:18 mrg Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@ -116,8 +116,6 @@
#include <machine/cpu.h>
#include <vm/vm.h>
#include <uvm/uvm_extern.h>
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_fork.c,v 1.67 2000/06/26 14:21:14 mrg Exp $ */
/* $NetBSD: kern_fork.c,v 1.68 2000/06/27 17:41:20 mrg Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1991, 1993
@ -63,8 +63,6 @@
#include <sys/syscallargs.h>
#include <vm/vm.h>
#include <uvm/uvm_extern.h>
int nprocs = 1; /* process 0 */

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_lkm.c,v 1.51 2000/06/26 14:21:14 mrg Exp $ */
/* $NetBSD: kern_lkm.c,v 1.52 2000/06/27 17:41:21 mrg Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@ -64,8 +64,6 @@
#include <ddb/db_sym.h>
#endif
#include <vm/vm.h>
#include <uvm/uvm_extern.h>
#if !defined(DEBUG) && defined(LKMDEBUG)

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_malloc.c,v 1.53 2000/06/26 14:21:14 mrg Exp $ */
/* $NetBSD: kern_malloc.c,v 1.54 2000/06/27 17:41:22 mrg Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All rights reserved.
@ -45,8 +45,6 @@
#include <sys/malloc.h>
#include <sys/systm.h>
#include <vm/vm.h>
#include <uvm/uvm_extern.h>
static struct vm_map_intrsafe kmem_map_store;

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_ntptime.c,v 1.11 2000/06/02 18:22:44 cgd Exp $ */
/* $NetBSD: kern_ntptime.c,v 1.12 2000/06/27 17:41:23 mrg Exp $ */
/******************************************************************************
* *
@ -63,7 +63,7 @@
#include <machine/cpu.h>
#include <vm/vm.h>
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
#ifdef NTP

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_physio.c,v 1.42 2000/05/08 20:03:20 thorpej Exp $ */
/* $NetBSD: kern_physio.c,v 1.43 2000/06/27 17:41:24 mrg Exp $ */
/*-
* Copyright (c) 1994 Christopher G. Demetriou
@ -47,8 +47,6 @@
#include <sys/malloc.h>
#include <sys/proc.h>
#include <vm/vm.h>
#include <uvm/uvm_extern.h>
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_resource.c,v 1.57 2000/05/31 05:02:32 thorpej Exp $ */
/* $NetBSD: kern_resource.c,v 1.58 2000/06/27 17:41:25 mrg Exp $ */
/*-
* Copyright (c) 1982, 1986, 1991, 1993
@ -52,8 +52,6 @@
#include <sys/mount.h>
#include <sys/syscallargs.h>
#include <vm/vm.h>
#include <uvm/uvm_extern.h>
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_sig.c,v 1.100 2000/05/27 00:40:46 sommerfeld Exp $ */
/* $NetBSD: kern_sig.c,v 1.101 2000/06/27 17:41:25 mrg Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1991, 1993
@ -73,7 +73,6 @@
#include <machine/cpu.h>
#include <vm/vm.h>
#include <sys/user.h> /* for coredump */
#include <uvm/uvm_extern.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_synch.c,v 1.78 2000/06/10 18:44:44 sommerfeld Exp $ */
/* $NetBSD: kern_synch.c,v 1.79 2000/06/27 17:41:27 mrg Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@ -88,7 +88,6 @@
#include <sys/buf.h>
#include <sys/signalvar.h>
#include <sys/resourcevar.h>
#include <vm/vm.h>
#include <sys/sched.h>
#include <uvm/uvm_extern.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_time.c,v 1.47 2000/05/31 05:02:34 thorpej Exp $ */
/* $NetBSD: kern_time.c,v 1.48 2000/06/27 17:41:31 mrg Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -86,7 +86,6 @@
#include <sys/mount.h>
#include <sys/syscallargs.h>
#include <vm/vm.h>
#include <uvm/uvm_extern.h>
#if defined(NFS) || defined(NFSSERVER)

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_xxx.c,v 1.43 2000/06/06 18:26:36 soren Exp $ */
/* $NetBSD: kern_xxx.c,v 1.44 2000/06/27 17:41:32 mrg Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@ -42,7 +42,7 @@
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/reboot.h>
#include <vm/vm.h>
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
#include <sys/mount.h>
#include <sys/syscallargs.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: subr_extent.c,v 1.34 2000/06/26 14:21:14 mrg Exp $ */
/* $NetBSD: subr_extent.c,v 1.35 2000/06/27 17:41:33 mrg Exp $ */
/*-
* Copyright (c) 1996, 1998 The NetBSD Foundation, Inc.
@ -50,8 +50,6 @@
#include <sys/proc.h>
#include <sys/lock.h>
#include <vm/vm.h>
#include <uvm/uvm_extern.h>
#define KMEM_IS_RUNNING (kmem_map != NULL)

View File

@ -1,4 +1,4 @@
/* $NetBSD: subr_pool.c,v 1.38 2000/06/26 14:21:14 mrg Exp $ */
/* $NetBSD: subr_pool.c,v 1.39 2000/06/27 17:41:34 mrg Exp $ */
/*-
* Copyright (c) 1997, 1999 The NetBSD Foundation, Inc.
@ -51,8 +51,6 @@
#include <sys/pool.h>
#include <sys/syslog.h>
#include <vm/vm.h>
#include <uvm/uvm.h>
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: subr_prof.c,v 1.20 2000/03/30 09:27:13 augustss Exp $ */
/* $NetBSD: subr_prof.c,v 1.21 2000/06/27 17:41:35 mrg Exp $ */
/*-
* Copyright (c) 1982, 1986, 1993
@ -42,7 +42,7 @@
#include <sys/user.h>
#include <sys/mount.h>
#include <sys/syscallargs.h>
#include <vm/vm.h>
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
#include <machine/cpu.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: sys_process.c,v 1.61 1999/03/25 04:45:57 sommerfe Exp $ */
/* $NetBSD: sys_process.c,v 1.62 2000/06/27 17:41:36 mrg Exp $ */
/*-
* Copyright (c) 1994 Christopher G. Demetriou. All rights reserved.
@ -63,7 +63,6 @@
#include <sys/mount.h>
#include <sys/syscallargs.h>
#include <vm/vm.h>
#include <uvm/uvm_extern.h>
#include <machine/reg.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: sysv_msg.c,v 1.30 2000/06/02 16:05:49 simonb Exp $ */
/* $NetBSD: sysv_msg.c,v 1.31 2000/06/27 17:41:37 mrg Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -61,7 +61,7 @@
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/msg.h>
#include <vm/vm.h> /* XXX for <sys/sysctl.h> */
#include <uvm/uvm_extern.h> /* XXX for <sys/sysctl.h> */
#include <sys/sysctl.h>
#include <sys/mount.h> /* XXX for <sys/syscallargs.h> */
#include <sys/syscallargs.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: sysv_sem.c,v 1.38 2000/06/02 15:53:05 simonb Exp $ */
/* $NetBSD: sysv_sem.c,v 1.39 2000/06/27 17:41:38 mrg Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -50,7 +50,7 @@
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/sem.h>
#include <vm/vm.h> /* XXX for <sys/sysctl.h> */
#include <uvm/uvm_extern.h> /* XXX for <sys/sysctl.h> */
#include <sys/sysctl.h>
#include <sys/mount.h> /* XXX for <sys/syscallargs.h> */
#include <sys/syscallargs.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: sysv_shm.c,v 1.56 2000/06/02 15:53:05 simonb Exp $ */
/* $NetBSD: sysv_shm.c,v 1.57 2000/06/27 17:41:40 mrg Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -77,7 +77,6 @@
#include <sys/mman.h>
#include <sys/stat.h>
#include <vm/vm.h>
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: tty.c,v 1.119 2000/05/26 00:36:52 thorpej Exp $ */
/* $NetBSD: tty.c,v 1.120 2000/06/27 17:41:41 mrg Exp $ */
/*-
* Copyright (c) 1982, 1986, 1990, 1991, 1993
@ -62,8 +62,6 @@
#include <sys/resourcevar.h>
#include <sys/poll.h>
#include <vm/vm.h>
static int ttnread __P((struct tty *));
static void ttyblock __P((struct tty *));
static void ttyecho __P((int, struct tty *));

View File

@ -1,4 +1,4 @@
/* $NetBSD: uipc_domain.c,v 1.31 2000/03/30 09:27:14 augustss Exp $ */
/* $NetBSD: uipc_domain.c,v 1.32 2000/06/27 17:41:43 mrg Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@ -54,7 +54,7 @@
#include <sys/systm.h>
#include <sys/callout.h>
#include <sys/proc.h>
#include <vm/vm.h>
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
void pffasttimo __P((void *));

View File

@ -1,4 +1,4 @@
/* $NetBSD: uipc_mbuf.c,v 1.46 2000/06/26 14:21:15 mrg Exp $ */
/* $NetBSD: uipc_mbuf.c,v 1.47 2000/06/27 17:41:44 mrg Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -87,8 +87,6 @@
#include <sys/socket.h>
#include <net/if.h>
#include <vm/vm.h>
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: uipc_syscalls.c,v 1.52 2000/05/27 00:40:47 sommerfeld Exp $ */
/* $NetBSD: uipc_syscalls.c,v 1.53 2000/06/27 17:41:45 mrg Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1990, 1993
@ -69,7 +69,6 @@
#include <sys/mount.h>
#include <sys/syscallargs.h>
#include <vm/vm.h>
#include <uvm/uvm_extern.h>
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: vfs_bio.c,v 1.67 2000/04/12 11:33:43 fvdl Exp $ */
/* $NetBSD: vfs_bio.c,v 1.68 2000/06/27 17:41:47 mrg Exp $ */
/*-
* Copyright (c) 1994 Christopher G. Demetriou
@ -59,8 +59,6 @@
#include <sys/resourcevar.h>
#include <sys/conf.h>
#include <vm/vm.h>
#include <miscfs/specfs/specdev.h>
/* Macros to clear/set/test flags. */

View File

@ -1,4 +1,4 @@
/* $NetBSD: vfs_cluster.c,v 1.23 1999/12/03 21:43:20 ragge Exp $ */
/* $NetBSD: vfs_cluster.c,v 1.24 2000/06/27 17:41:48 mrg Exp $ */
/*-
* Copyright (c) 1993
@ -45,8 +45,6 @@
#include <sys/systm.h>
#include <sys/resourcevar.h>
#include <vm/vm.h>
int doreallocblks = 0;
#ifdef DEBUG

View File

@ -1,4 +1,4 @@
/* $NetBSD: vfs_subr.c,v 1.128 2000/06/10 18:44:44 sommerfeld Exp $ */
/* $NetBSD: vfs_subr.c,v 1.129 2000/06/27 17:41:49 mrg Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@ -104,17 +104,15 @@
#include <sys/device.h>
#include <sys/dirent.h>
#include <vm/vm.h>
#include <sys/sysctl.h>
#include <miscfs/specfs/specdev.h>
#include <miscfs/genfs/genfs.h>
#include <miscfs/syncfs/syncfs.h>
#include <uvm/uvm_extern.h>
#include <uvm/uvm.h>
#include <uvm/uvm_ddb.h>
#include <sys/sysctl.h>
enum vtype iftovt_tab[16] = {
VNON, VFIFO, VCHR, VNON, VDIR, VNON, VBLK, VNON,
VREG, VNON, VLNK, VNON, VSOCK, VNON, VNON, VBAD,

View File

@ -1,4 +1,4 @@
/* $NetBSD: vfs_syscalls.c,v 1.158 2000/06/19 18:53:55 pooka Exp $ */
/* $NetBSD: vfs_syscalls.c,v 1.159 2000/06/27 17:41:52 mrg Exp $ */
/*
* Copyright (c) 1989, 1993
@ -56,17 +56,15 @@
#include <sys/uio.h>
#include <sys/malloc.h>
#include <sys/dirent.h>
#include <sys/syscallargs.h>
#include <vm/vm.h>
#include <sys/sysctl.h>
#include <miscfs/genfs/genfs.h>
#include <miscfs/syncfs/syncfs.h>
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
static int change_dir __P((struct nameidata *, struct proc *));
static int change_mode __P((struct vnode *, int, struct proc *p));
static int change_owner __P((struct vnode *, uid_t, gid_t, struct proc *,

View File

@ -1,4 +1,4 @@
/* $NetBSD: vfs_vnops.c,v 1.42 2000/04/11 04:37:51 chs Exp $ */
/* $NetBSD: vfs_vnops.c,v 1.43 2000/06/27 17:41:54 mrg Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@ -56,8 +56,6 @@
#include <sys/tty.h>
#include <sys/poll.h>
#include <vm/vm.h>
#include <uvm/uvm_extern.h>
#ifdef UNION