diff options
author | luoqi <luoqi@FreeBSD.org> | 1999-02-19 14:25:37 +0000 |
---|---|---|
committer | luoqi <luoqi@FreeBSD.org> | 1999-02-19 14:25:37 +0000 |
commit | 082d37c1acacd0403f5fb2883c7a0203c86baa10 (patch) | |
tree | 43d75fbf23c63e0d76e25bdb477e9f3abea2d101 /sys/kern/kern_exit.c | |
parent | 34a83c58695826a346644074e092787f655b3394 (diff) | |
download | FreeBSD-src-082d37c1acacd0403f5fb2883c7a0203c86baa10.zip FreeBSD-src-082d37c1acacd0403f5fb2883c7a0203c86baa10.tar.gz |
Hide access to vmspace:vm_pmap with inline function vmspace_pmap(). This
is the preparation step for moving pmap storage out of vmspace proper.
Reviewed by: Alan Cox <alc@cs.rice.edu>
Matthew Dillion <dillon@apollo.backplane.com>
Diffstat (limited to 'sys/kern/kern_exit.c')
-rw-r--r-- | sys/kern/kern_exit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index 780f29d..c80b3c8 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_exit.c 8.7 (Berkeley) 2/12/94 - * $Id: kern_exit.c,v 1.73 1999/01/30 06:25:00 newton Exp $ + * $Id: kern_exit.c,v 1.74 1999/01/31 03:15:13 newton Exp $ */ #include "opt_compat.h" @@ -217,7 +217,7 @@ exit1(p, rv) if (vm->vm_refcnt == 1) { if (vm->vm_shm) shmexit(p); - pmap_remove_pages(&vm->vm_pmap, VM_MIN_ADDRESS, + pmap_remove_pages(vmspace_pmap(vm), VM_MIN_ADDRESS, VM_MAXUSER_ADDRESS); (void) vm_map_remove(&vm->vm_map, VM_MIN_ADDRESS, VM_MAXUSER_ADDRESS); |