1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Forgot to set KU_DOUPCALL in kse_wakeup.

This commit is contained in:
David Xu 2003-02-20 08:22:04 +00:00
parent eb117d5cb0
commit ab7d94f7eb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111170
2 changed files with 2 additions and 0 deletions

View File

@ -565,6 +565,7 @@ kse_wakeup(struct thread *td, struct kse_wakeup_args *uap)
panic("%s: no owner", __func__);
} else if (TD_ON_SLEEPQ(td2) &&
(td2->td_wchan == &kg->kg_completed)) {
ku->ku_flags |= KUF_DOUPCALL;
abortsleep(td2);
} else {
ku->ku_flags |= KUF_DOUPCALL;

View File

@ -565,6 +565,7 @@ kse_wakeup(struct thread *td, struct kse_wakeup_args *uap)
panic("%s: no owner", __func__);
} else if (TD_ON_SLEEPQ(td2) &&
(td2->td_wchan == &kg->kg_completed)) {
ku->ku_flags |= KUF_DOUPCALL;
abortsleep(td2);
} else {
ku->ku_flags |= KUF_DOUPCALL;