diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-03-23 23:36:40 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-03-23 23:36:40 +0000 |
commit | fa5275b22eb94a7d990e643d54768420845d618c (patch) | |
tree | 26c180caa2af5066e91ef4134ebb09971244fba2 /sys/vm | |
parent | 75cd31da1a0f264658261d0a7aba581b4bff459e (diff) |
Take vm_pmap out of struct vmspace if we are using UVM since UVM doesn't
use that. Fixes size mismatch in i386 pmap.new kernel.
This requires that users rebuild libkvm and friends using the new headers
for ps et al to work with a new kernel.
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 */ |