summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1996-09-01 10:10:12 +0000
committerdg <dg@FreeBSD.org>1996-09-01 10:10:12 +0000
commit2fc7d7d1fa299368ccdddede67b31695266698bd (patch)
tree7df854e9d38a7bb5e95b084de02ee1b06c5c09bb
parent4470be7e2af132530dc472559a6b4b96b00bfafa (diff)
downloadFreeBSD-src-2fc7d7d1fa299368ccdddede67b31695266698bd.zip
FreeBSD-src-2fc7d7d1fa299368ccdddede67b31695266698bd.tar.gz
Change an splclock that needs to be an splhigh into an splhigh.
Reviewed by: bde
-rw-r--r--sys/amd64/amd64/trap.c4
-rw-r--r--sys/i386/i386/trap.c4
-rw-r--r--sys/kern/subr_trap.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
index 9cc6d50..5ff8acd 100644
--- a/sys/amd64/amd64/trap.c
+++ b/sys/amd64/amd64/trap.c
@@ -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();
diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c
index 9cc6d50..5ff8acd 100644
--- a/sys/i386/i386/trap.c
+++ b/sys/i386/i386/trap.c
@@ -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();
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c
index 9cc6d50..5ff8acd 100644
--- a/sys/kern/subr_trap.c
+++ b/sys/kern/subr_trap.c
@@ -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();
OpenPOWER on IntegriCloud