diff options
author | David Xu <davidxu@FreeBSD.org> | 2004-07-31 14:02:29 +0000 |
---|---|---|
committer | David Xu <davidxu@FreeBSD.org> | 2004-07-31 14:02:29 +0000 |
commit | e3086a21e855032b2cded9c1f5b353b9be17cfea (patch) | |
tree | 012cbd0507c117f986cea9e28b9b6e8f05fc7c14 /sys/amd64 | |
parent | 484405eb8dc8eaa144efa049c3b24162b26197eb (diff) | |
download | src-e3086a21e855032b2cded9c1f5b353b9be17cfea.tar.gz src-e3086a21e855032b2cded9c1f5b353b9be17cfea.zip |
Turn on PCB_FULLCTX for set_mcontext, functions like kse_switchin
needs to fully restore asynchronous context which did not come
from fast syscall.
Notes
Notes:
svn path=/head/; revision=132924
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/machdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index b95c211ad1c2..414a3fa45ab7 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -1533,6 +1533,7 @@ set_mcontext(struct thread *td, const mcontext_t *mcp) tp->tf_rflags = rflags; tp->tf_rsp = mcp->mc_rsp; tp->tf_ss = mcp->mc_ss; + td->td_pcb->pcb_flags |= PCB_FULLCTX; return (0); } |