summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-03-31 21:38:11 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-03-31 21:38:11 +0000
commit759ef240c8b69ff337d057ea0ab8fa703ced39cb (patch)
tree6048f31de62c1aad572be3dca616909bfe37af86 /sys
parentaef06ec1182f0b7aaea9a9ba8c6a47ad68ed8cce (diff)
Fix a spl botch for sun4/sun4c, which should fix reported stability issues
on some machines. Tested on ss2 only. ok art@ deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/sparc/pmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/sparc/pmap.c b/sys/arch/sparc/sparc/pmap.c
index f9231f5e3a6..58322b6d946 100644
--- a/sys/arch/sparc/sparc/pmap.c
+++ b/sys/arch/sparc/sparc/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.121 2002/03/14 01:26:44 millert Exp $ */
+/* $OpenBSD: pmap.c,v 1.122 2002/03/31 21:38:10 miod Exp $ */
/* $NetBSD: pmap.c,v 1.118 1998/05/19 19:00:18 thorpej Exp $ */
/*
@@ -1709,7 +1709,6 @@ ctx_alloc(pm)
*/
setcontext4(cnum);
- splx(s);
if (doflush)
cache_flush_context();
@@ -1736,6 +1735,7 @@ ctx_alloc(pm)
rp++;
}
}
+ splx(s);
} else if (CPU_ISSUN4M) {