From 759ef240c8b69ff337d057ea0ab8fa703ced39cb Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sun, 31 Mar 2002 21:38:11 +0000 Subject: Fix a spl botch for sun4/sun4c, which should fix reported stability issues on some machines. Tested on ss2 only. ok art@ deraadt@ --- sys/arch/sparc/sparc/pmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') 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) { -- cgit v1.2.3