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/fs/procfs | |
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/fs/procfs')
-rw-r--r-- | sys/fs/procfs/procfs_map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/procfs/procfs_map.c b/sys/fs/procfs/procfs_map.c index 3873070..47a0ce1 100644 --- a/sys/fs/procfs/procfs_map.c +++ b/sys/fs/procfs/procfs_map.c @@ -36,7 +36,7 @@ * * @(#)procfs_status.c 8.3 (Berkeley) 2/17/94 * - * $Id: procfs_map.c,v 1.20 1999/02/05 06:18:54 jdp Exp $ + * $Id: procfs_map.c,v 1.21 1999/02/07 21:48:21 dillon Exp $ */ #include <sys/param.h> @@ -76,7 +76,7 @@ procfs_domap(curp, p, pfs, uio) int len; int error; vm_map_t map = &p->p_vmspace->vm_map; - pmap_t pmap = &p->p_vmspace->vm_pmap; + pmap_t pmap = vmspace_pmap(p->p_vmspace); vm_map_entry_t entry; char mebuffer[MEBUFFERSIZE]; |