From eaed89032e2fd68793cbfe677ce15e06b46b11dd Mon Sep 17 00:00:00 2001 From: David Greenman Date: Sun, 1 Sep 1996 10:10:12 +0000 Subject: [PATCH] Change an splclock that needs to be an splhigh into an splhigh. Reviewed by: bde --- sys/amd64/amd64/trap.c | 4 ++-- sys/i386/i386/trap.c | 4 ++-- sys/kern/subr_trap.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index 9cc6d50b61bd..5ff8acd57514 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 9cc6d50b61bd..5ff8acd57514 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 9cc6d50b61bd..5ff8acd57514 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();