diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2003-07-31 05:27:00 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2003-07-31 05:27:00 +0000 |
| commit | 5ba809ff6655b0d732e334b4ff615047316e6696 (patch) | |
| tree | 2599b470273ec9e85ae19314e8f3da8f4a2db87a /sys/alpha | |
| parent | b053bc8407b8944f3a4959b820370c17c49d9286 (diff) | |
Notes
Diffstat (limited to 'sys/alpha')
| -rw-r--r-- | sys/alpha/alpha/machdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c index eecd53f97d7d..fe9b276e59b8 100644 --- a/sys/alpha/alpha/machdep.c +++ b/sys/alpha/alpha/machdep.c @@ -2074,6 +2074,9 @@ set_mcontext(struct thread *td, const mcontext_t *mcp) if (td == curthread) { alpha_pal_wrusp(mcp->mc_regs[FRAME_SP]); alpha_pal_wrunique(mcp->mc_thrptr); + } else { + td->td_pcb->pcb_hw.apcb_usp = mcp->mc_regs[FRAME_SP]; + td->td_pcb->pcb_hw.apcb_unique = mcp->mc_thrptr; } /* |
