summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-08-06 22:39:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-08-06 22:39:15 +0000
commit73914ffd89164ae4922dd6a502c2fceec721ea17 (patch)
tree3ee93e2f122ad8b61ff6cdacc8c317d4e7dd98b9 /sys/uvm
parent339361111fbb7c45f818e96281d2f887724981db (diff)
rename sparc kill_user_windows() to pmap_unuse_final(). provide empty stubs
on all other architectures. remove last architecture dependent #ifdef from uvm code.
Diffstat (limited to 'sys/uvm')
-rw-r--r--sys/uvm/uvm_map.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c
index 3aba993bdf3..4fbaa4dee79 100644
--- a/sys/uvm/uvm_map.c
+++ b/sys/uvm/uvm_map.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_map.c,v 1.68 2004/07/21 01:02:09 art Exp $ */
+/* $OpenBSD: uvm_map.c,v 1.69 2004/08/06 22:39:14 deraadt Exp $ */
/* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */
/*
@@ -3228,10 +3228,7 @@ uvmspace_exec(p, start, end)
struct vmspace *nvm, *ovm = p->p_vmspace;
vm_map_t map = &ovm->vm_map;
-#ifdef __sparc__
- /* XXX cgd 960926: the sparc #ifdef should be a MD hook */
- kill_user_windows(p); /* before stack addresses go away */
-#endif
+ pmap_unuse_final(p); /* before stack addresses go away */
/*
* see if more than one process is using this vmspace...