diff --git a/sys/kern/kern_kthread.c b/sys/kern/kern_kthread.c index 53bfc07fabdd..9dcdeb00406d 100644 --- a/sys/kern/kern_kthread.c +++ b/sys/kern/kern_kthread.c @@ -182,7 +182,6 @@ kproc_suspend(struct proc *p, int timo) return (EINVAL); } SIGADDSET(p->p_siglist, SIGSTOP); - PROC_UNLOCK(p); wakeup(p); return msleep(&p->p_siglist, &p->p_mtx, PPAUSE | PDROP, "suspkp", timo); }