diff options
-rw-r--r-- | sys/kern/kern_sysctl.c | 4 | ||||
-rw-r--r-- | sys/vm/vm.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c index 1af6d28fd50..697fad8ab03 100644 --- a/sys/kern/kern_sysctl.c +++ b/sys/kern/kern_sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_sysctl.c,v 1.39 2001/03/16 08:49:09 art Exp $ */ +/* $OpenBSD: kern_sysctl.c,v 1.40 2001/03/23 23:36:39 millert Exp $ */ /* $NetBSD: kern_sysctl.c,v 1.17 1996/05/20 17:49:05 mrg Exp $ */ /*- @@ -877,7 +877,9 @@ fill_eproc(p, ep) ep->e_vm.vm_tsize = vm->vm_tsize; ep->e_vm.vm_dsize = vm->vm_dsize; ep->e_vm.vm_ssize = vm->vm_ssize; +#ifndef UVM ep->e_vm.vm_pmap = *vm->vm_map.pmap; +#endif } if (p->p_pptr) ep->e_ppid = p->p_pptr->p_pid; diff --git a/sys/vm/vm.h b/sys/vm/vm.h index 114da1caea1..5a11ddabbf3 100644 --- a/sys/vm/vm.h +++ b/sys/vm/vm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vm.h,v 1.10 2000/11/08 14:31:37 art Exp $ */ +/* $OpenBSD: vm.h,v 1.11 2001/03/23 23:36:39 millert Exp $ */ /* $NetBSD: vm.h,v 1.13 1994/06/29 06:47:52 cgd Exp $ */ /* @@ -89,7 +89,9 @@ typedef struct lock *lock_t; */ struct vmspace { struct vm_map vm_map; /* VM address map */ +#ifndef UVM struct pmap vm_pmap; /* private physical map */ +#endif int vm_refcnt; /* number of references */ caddr_t vm_shm; /* SYS5 shared memory private data XXX */ /* we copy from vm_startcopy to the end of the structure on fork */ |