From 73914ffd89164ae4922dd6a502c2fceec721ea17 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 6 Aug 2004 22:39:15 +0000 Subject: rename sparc kill_user_windows() to pmap_unuse_final(). provide empty stubs on all other architectures. remove last architecture dependent #ifdef from uvm code. --- sys/uvm/uvm_map.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'sys/uvm') 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... -- cgit v1.2.3