diff options
author | davidxu <davidxu@FreeBSD.org> | 2003-02-24 00:49:55 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2003-02-24 00:49:55 +0000 |
commit | 6e6d69e258e9ee8fe9172340163ac3665d2c4ad9 (patch) | |
tree | 097c6db289854027b775df5e7672e450c89c980c /sys | |
parent | 8133d4eddb8797a266eb2fa3f080df875edca945 (diff) | |
download | FreeBSD-src-6e6d69e258e9ee8fe9172340163ac3665d2c4ad9.zip FreeBSD-src-6e6d69e258e9ee8fe9172340163ac3665d2c4ad9.tar.gz |
Backout last surplus commit. That day just wasn't my day.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_kse.c | 5 | ||||
-rw-r--r-- | sys/kern/kern_thread.c | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/sys/kern/kern_kse.c b/sys/kern/kern_kse.c index 72ab301..7b30cd1 100644 --- a/sys/kern/kern_kse.c +++ b/sys/kern/kern_kse.c @@ -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) { diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index 72ab301..7b30cd1 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -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) { |