diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2000-07-05 13:13:21 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2000-07-05 13:13:21 +0000 |
commit | 44f0545c397e3be36ccb7c3ee7fcdb24feee019d (patch) | |
tree | dcd469d7bd4ec07f72c5dc8dd66f4ca72fd15b9e /sys/arch | |
parent | 770fee017c974c5d51443efb70c42e08fb3ca67e (diff) |
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).
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc/dev/magma.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |