Backout last surplus commit. That day just wasn't my day.

This commit is contained in:
David Xu 2003-02-24 00:49:55 +00:00
parent 2fbef91887
commit f5878f69df
2 changed files with 0 additions and 10 deletions

View File

@ -538,11 +538,6 @@ kse_wakeup(struct thread *td, struct kse_wakeup_args *uap)
/* KSE-enabled processes only, please. */
if (!(p->p_flag & P_KSES))
return (EINVAL);
if ((td->td_ksegrp->kg_numupcalls != 0) && (td->td_mailbox == NULL)) {
KASSERT((td->td_upcall != NULL), ("%s: not own an upcall", __func__));
if (td->td_upcall->ku_mailbox == uap->mbx)
return (0);
}
PROC_LOCK(p);
mtx_lock_spin(&sched_lock);
if (uap->mbx) {

View File

@ -538,11 +538,6 @@ kse_wakeup(struct thread *td, struct kse_wakeup_args *uap)
/* KSE-enabled processes only, please. */
if (!(p->p_flag & P_KSES))
return (EINVAL);
if ((td->td_ksegrp->kg_numupcalls != 0) && (td->td_mailbox == NULL)) {
KASSERT((td->td_upcall != NULL), ("%s: not own an upcall", __func__));
if (td->td_upcall->ku_mailbox == uap->mbx)
return (0);
}
PROC_LOCK(p);
mtx_lock_spin(&sched_lock);
if (uap->mbx) {