From 44f0545c397e3be36ccb7c3ee7fcdb24feee019d Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Wed, 5 Jul 2000 13:13:21 +0000 Subject: Change splsoftclock to spltty. spltty is probably too paranoid, but it's less wrong than using splsoftclock which is defined to be a lowering spl (this doesn't matter on the sparc yet, because spls on sparc are wrong, but it will matter soon). --- sys/arch/sparc/dev/magma.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch/sparc/dev/magma.c') diff --git a/sys/arch/sparc/dev/magma.c b/sys/arch/sparc/dev/magma.c index 630b57582c8..b88584543a3 100644 --- a/sys/arch/sparc/dev/magma.c +++ b/sys/arch/sparc/dev/magma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: magma.c,v 1.5 2000/07/05 12:53:20 art Exp $ */ +/* $OpenBSD: magma.c,v 1.6 2000/07/05 13:13:20 art Exp $ */ /* * magma.c * @@ -1642,7 +1642,7 @@ again: /* goto bad */ * poll delay? */ if( mp->mp_delay > 0 ) { - s = splsoftclock(); + s = spltty(); /* XXX */ SET(mp->mp_flags, MBPPF_DELAY); timeout(mbpp_start, mp, mp->mp_delay); error = tsleep(mp, PCATCH | PZERO, "mbppdelay", 0); @@ -1664,7 +1664,7 @@ again: /* goto bad */ /* * clear timeouts */ - s = splsoftclock(); + s = spltty(); /* XXX */ if( ISSET(mp->mp_flags, MBPPF_TIMEOUT) ) { untimeout(mbpp_timeout, mp); CLR(mp->mp_flags, MBPPF_TIMEOUT); -- cgit v1.2.3