fix typo.

This commit is contained in:
David Xu 2002-10-25 00:13:46 +00:00
parent 1434d3fe6f
commit 4c40dcd4d7
2 changed files with 4 additions and 2 deletions

View File

@ -1184,7 +1184,8 @@ thread_user_enter(struct proc *p, struct thread *td)
* possibility that we could do this lazily (in sleep()),
* but for now do it every time.
*/
if ((ke = td->td_kse->ke_mailbox)) {
ke = td->td_kse;
if (ke->ke_mailbox != NULL) {
#if 0
td->td_mailbox = (void *)fuword((caddr_t)ke->ke_mailbox
+ offsetof(struct kse_mailbox, km_curthread));

View File

@ -1184,7 +1184,8 @@ thread_user_enter(struct proc *p, struct thread *td)
* possibility that we could do this lazily (in sleep()),
* but for now do it every time.
*/
if ((ke = td->td_kse->ke_mailbox)) {
ke = td->td_kse;
if (ke->ke_mailbox != NULL) {
#if 0
td->td_mailbox = (void *)fuword((caddr_t)ke->ke_mailbox
+ offsetof(struct kse_mailbox, km_curthread));