diff options
| author | Archie Cobbs <archie@FreeBSD.org> | 2002-09-25 18:10:42 +0000 |
|---|---|---|
| committer | Archie Cobbs <archie@FreeBSD.org> | 2002-09-25 18:10:42 +0000 |
| commit | 89def71cbddefab1148d3e5358b750e342928f5b (patch) | |
| tree | 33219152bf2278891abb4870867b5943ed735b0d /sys/kern/kern_thread.c | |
| parent | a6fa9438ba325d403946c04e6bfd674cab0808d7 (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_thread.c')
| -rw-r--r-- | sys/kern/kern_thread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index c722498e3a35..5d4fcd4b2984 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -339,13 +339,13 @@ thread_export_context(struct thread *td) #endif /* Export the user/machine context. */ error = copyin((caddr_t)td->td_mailbox + - offsetof(struct thread_mailbox, tm_context), + offsetof(struct kse_thr_mailbox, tm_context), &uc, sizeof(ucontext_t)); if (error == 0) { thread_getcontext(td, &uc); error = copyout(&uc, (caddr_t)td->td_mailbox + - offsetof(struct thread_mailbox, tm_context), + offsetof(struct kse_thr_mailbox, tm_context), sizeof(ucontext_t)); } @@ -353,7 +353,7 @@ thread_export_context(struct thread *td) addr1 = (caddr_t)ke->ke_mailbox + offsetof(struct kse_mailbox, km_completed); addr2 = (caddr_t)td->td_mailbox - + offsetof(struct thread_mailbox , tm_next); + + offsetof(struct kse_thr_mailbox, tm_next); /* Then link it into it's KSE's list of completed threads. */ if (!error) { error = td2_mbx = fuword(addr1); |
