diff options
author | davidxu <davidxu@FreeBSD.org> | 2004-07-12 07:41:01 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2004-07-12 07:41:01 +0000 |
commit | 404e9eb47275596b6c04a3620e5538f8ac90e889 (patch) | |
tree | 7318135265af87df850168fe9c3527bb0ffeda59 | |
parent | 351df4e3484dd088f7e5802e8bce6fb514779540 (diff) | |
download | FreeBSD-src-404e9eb47275596b6c04a3620e5538f8ac90e889.zip FreeBSD-src-404e9eb47275596b6c04a3620e5538f8ac90e889.tar.gz |
kse_switchin ABI was changed in kernel.
-rw-r--r-- | lib/libkse/arch/ia64/include/pthread_md.h | 5 | ||||
-rw-r--r-- | lib/libpthread/arch/ia64/include/pthread_md.h | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/lib/libkse/arch/ia64/include/pthread_md.h b/lib/libkse/arch/ia64/include/pthread_md.h index a72c953..b37a328 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, diff --git a/lib/libpthread/arch/ia64/include/pthread_md.h b/lib/libpthread/arch/ia64/include/pthread_md.h index a72c953..b37a328 100644 --- a/lib/libpthread/arch/ia64/include/pthread_md.h +++ b/lib/libpthread/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, |