summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_mutex.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_mutex.c')
-rw-r--r--sys/kern/kern_mutex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c
index 935ac79..6becc78 100644
--- a/sys/kern/kern_mutex.c
+++ b/sys/kern/kern_mutex.c
@@ -766,6 +766,7 @@ _mtx_unlock_sleep(struct mtx *m, int opts, const char *file, int line)
mtx_unlock_spin(&sched_lock);
return;
}
+ setrunqueue(td1);
if (td->td_critnest == 1 && td1->td_priority < pri) {
#ifdef notyet
OpenPOWER on IntegriCloud