mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Change an splclock that needs to be an splhigh into an splhigh.
Reviewed by: bde
This commit is contained in:
parent
dc8b2dd7d1
commit
eaed89032e
3 changed files with 6 additions and 6 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue