1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

fix typo.

This commit is contained in:
David Xu 2002-10-25 00:13:46 +00:00
parent 1434d3fe6f
commit 4c40dcd4d7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105901
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));