summaryrefslogtreecommitdiff
path: root/sys/kern/kern_thr.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2006-04-17 18:20:38 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2006-04-17 18:20:38 +0000
commit0f180a7cce5bed801060557dd5bdbad64318d3c6 (patch)
tree6e1e68443c878ae084bc35e7e36a8edf68ad3352 /sys/kern/kern_thr.c
parent00d02f943bbcd6ec85092821e9ee4d8adca83c83 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_thr.c')
-rw-r--r--sys/kern/kern_thr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_thr.c b/sys/kern/kern_thr.c
index f58916012869f..d0f786ee7f1d2 100644
--- a/sys/kern/kern_thr.c
+++ b/sys/kern/kern_thr.c
@@ -368,8 +368,8 @@ thr_suspend(struct thread *td, struct thr_suspend_args *uap)
}
PROC_LOCK(td->td_proc);
if ((td->td_flags & TDF_THRWAKEUP) == 0)
- error = msleep((void *)td, &td->td_proc->p_mtx,
- td->td_priority | PCATCH, "lthr", hz);
+ error = msleep((void *)td, &td->td_proc->p_mtx, PCATCH, "lthr",
+ hz);
if (td->td_flags & TDF_THRWAKEUP) {
mtx_lock_spin(&sched_lock);
td->td_flags &= ~TDF_THRWAKEUP;