summaryrefslogtreecommitdiff
path: root/sys/kern/kern_subr.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-01-05 08:47:13 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-01-05 08:47:13 +0000
commitc86b6ff551d4e38e75a3316171383de5b00c7c48 (patch)
tree619ee98d73f5552ae93c3c8fee5af6b40ff37908 /sys/kern/kern_subr.c
parent422f61655f0b6793c00d38cd362c76acf4462877 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_subr.c')
-rw-r--r--sys/kern/kern_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c
index cab78c2015ca..94491929e96f 100644
--- a/sys/kern/kern_subr.c
+++ b/sys/kern/kern_subr.c
@@ -386,7 +386,7 @@ uio_yield()
td = curthread;
mtx_lock_spin(&sched_lock);
- DROP_GIANT_NOSWITCH();
+ DROP_GIANT();
td->td_ksegrp->kg_pri.pri_level = td->td_ksegrp->kg_pri.pri_user;
setrunqueue(td);
td->td_proc->p_stats->p_ru.ru_nivcsw++;