diff options
| author | David Xu <davidxu@FreeBSD.org> | 2004-07-14 00:58:53 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2004-07-14 00:58:53 +0000 |
| commit | dd094c943dffad0c025c5252ad1af108299c9e29 (patch) | |
| tree | ab7ca61b2fc224f6b1ec8f11777fe4ee3dcbb87c /lib/libpthread/arch/arm | |
| parent | 707783de09da410e1ec01fc66858a449cbbaeace (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/arch/arm')
| -rw-r--r-- | lib/libpthread/arch/arm/include/pthread_md.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libpthread/arch/arm/include/pthread_md.h b/lib/libpthread/arch/arm/include/pthread_md.h index 4cce2123f90b..2ba486cae3cc 100644 --- a/lib/libpthread/arch/arm/include/pthread_md.h +++ b/lib/libpthread/arch/arm/include/pthread_md.h @@ -233,6 +233,7 @@ _thread_switch(struct kcb *kcb, struct tcb *tcb, int setmbox) _tcb_set(kcb, tcb); mc = &tcb->tcb_tmbx.tm_context.uc_mcontext; if (_libkse_debug == 0) { + tcb->tcb_tmbx.tm_lwp = kcb->kcb_kmbx.km_lwp; if (setmbox) _thr_setcontext(mc, (intptr_t)&tcb->tcb_tmbx, (intptr_t *)&kcb->kcb_kmbx.km_curthread); |
