diff options
Diffstat (limited to 'sys/kern/kern_subr.c')
-rw-r--r-- | sys/kern/kern_subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c index 2101026..c93f262 100644 --- a/sys/kern/kern_subr.c +++ b/sys/kern/kern_subr.c @@ -456,7 +456,7 @@ uio_yield(void) DROP_GIANT(); thread_lock(td); sched_prio(td, td->td_user_pri); - mi_switch(SW_INVOL, NULL); + mi_switch(SW_INVOL | SWT_RELINQUISH, NULL); thread_unlock(td); PICKUP_GIANT(); } |