diff options
| author | David Xu <davidxu@FreeBSD.org> | 2004-07-12 07:41:01 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2004-07-12 07:41:01 +0000 |
| commit | a5dc4a8255908ab38c4d3afd0a1d05fb83cd8e94 (patch) | |
| tree | 7318135265af87df850168fe9c3527bb0ffeda59 /lib/libkse | |
| parent | 507b03186a50e9219c948ceb9c313a843c567872 (diff) | |
Notes
Diffstat (limited to 'lib/libkse')
| -rw-r--r-- | lib/libkse/arch/ia64/include/pthread_md.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libkse/arch/ia64/include/pthread_md.h b/lib/libkse/arch/ia64/include/pthread_md.h index a72c95343684..b37a32880cfd 100644 --- a/lib/libkse/arch/ia64/include/pthread_md.h +++ b/lib/libkse/arch/ia64/include/pthread_md.h @@ -234,10 +234,9 @@ _thread_switch(struct kcb *kcb, struct tcb *tcb, int setmbox) _ia64_break_setcontext(mc); } else if (mc->mc_flags & _MC_FLAGS_SYSCALL_CONTEXT) { if (setmbox) - kse_switchin(mc, (long)&tcb->tcb_tmbx, - (long *)&kcb->kcb_kmbx.km_curthread); + kse_switchin(&tcb->tcb_tmbx, KSE_SWITCHIN_SETTMBX); else - kse_switchin(mc, 0L, NULL); + kse_switchin(&tcb->tcb_tmbx, 0); } else { if (setmbox) _ia64_restore_context(mc, (intptr_t)&tcb->tcb_tmbx, |
