1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Update for post-kseIII

This commit is contained in:
Peter Wemm 2002-10-04 00:18:21 +00:00
parent 60cfb7c64a
commit 1678d0990b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104425

View File

@ -816,7 +816,7 @@ syscall(int code, u_int64_t *args, struct trapframe *framep)
* but for now do it every time.
*/
td->td_mailbox = (void *)fuword((caddr_t)td->td_kse->ke_mailbox
+ offsetof(struct kse_mailbox, kmbx_current_thread));
+ offsetof(struct kse_mailbox, km_curthread));
if ((td->td_mailbox == NULL) ||
(td->td_mailbox == (void *)-1)) {
td->td_mailbox = NULL; /* single thread it.. */