Change an splclock that needs to be an splhigh into an splhigh.

Reviewed by:	bde
This commit is contained in:
David Greenman 1996-09-01 10:10:12 +00:00
parent dc8b2dd7d1
commit eaed89032e
3 changed files with 6 additions and 6 deletions

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)trap.c 7.4 (Berkeley) 5/13/91
* $Id: trap.c,v 1.80 1996/07/12 06:03:14 bde Exp $
* $Id: trap.c,v 1.81 1996/08/11 17:41:25 davidg Exp $
*/
/*
@ -153,7 +153,7 @@ userret(p, frame, oticks)
* mi_switch()'ed, we might not be on the queue indicated by
* our priority.
*/
s = splclock();
s = splhigh();
setrunqueue(p);
p->p_stats->p_ru.ru_nivcsw++;
mi_switch();

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)trap.c 7.4 (Berkeley) 5/13/91
* $Id: trap.c,v 1.80 1996/07/12 06:03:14 bde Exp $
* $Id: trap.c,v 1.81 1996/08/11 17:41:25 davidg Exp $
*/
/*
@ -153,7 +153,7 @@ userret(p, frame, oticks)
* mi_switch()'ed, we might not be on the queue indicated by
* our priority.
*/
s = splclock();
s = splhigh();
setrunqueue(p);
p->p_stats->p_ru.ru_nivcsw++;
mi_switch();

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)trap.c 7.4 (Berkeley) 5/13/91
* $Id: trap.c,v 1.80 1996/07/12 06:03:14 bde Exp $
* $Id: trap.c,v 1.81 1996/08/11 17:41:25 davidg Exp $
*/
/*
@ -153,7 +153,7 @@ userret(p, frame, oticks)
* mi_switch()'ed, we might not be on the queue indicated by
* our priority.
*/
s = splclock();
s = splhigh();
setrunqueue(p);
p->p_stats->p_ru.ru_nivcsw++;
mi_switch();