summaryrefslogtreecommitdiff
path: root/sys/kern/kern_subr.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2004-07-02 19:09:50 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2004-07-02 19:09:50 +0000
commitbf0acc273a119b831959adba75a1c1de8ade7c51 (patch)
treee89f55b0c72410220a98331e61987c812e0316dd /sys/kern/kern_subr.c
parentd37ea99837e6ad50837fd9fe1771ddf1c3ba6002 (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 d662f5e284db..7ccccddf6739 100644
--- a/sys/kern/kern_subr.c
+++ b/sys/kern/kern_subr.c
@@ -430,7 +430,7 @@ uio_yield(void)
mtx_lock_spin(&sched_lock);
DROP_GIANT();
sched_prio(td, td->td_ksegrp->kg_user_pri); /* XXXKSE */
- mi_switch(SW_INVOL);
+ mi_switch(SW_INVOL, NULL);
mtx_unlock_spin(&sched_lock);
PICKUP_GIANT();
}