Copyin the thread mailbox flags from the correct location

in the mailbox.
This commit is contained in:
Daniel Eischen 2003-08-08 20:23:10 +00:00
parent be9879af48
commit ab908f5935
2 changed files with 2 additions and 2 deletions

View File

@ -1601,7 +1601,7 @@ thread_user_enter(struct proc *p, struct thread *td)
} else {
if (td->td_standin == NULL)
thread_alloc_spare(td, NULL);
tflags = fuword32(tmbx);
tflags = fuword32(&tmbx->tm_flags);
/*
* On some architectures, TP register points to thread
* mailbox but not points to kse mailbox, and userland

View File

@ -1601,7 +1601,7 @@ thread_user_enter(struct proc *p, struct thread *td)
} else {
if (td->td_standin == NULL)
thread_alloc_spare(td, NULL);
tflags = fuword32(tmbx);
tflags = fuword32(&tmbx->tm_flags);
/*
* On some architectures, TP register points to thread
* mailbox but not points to kse mailbox, and userland