diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2010-12-07 12:17:43 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2010-12-07 12:17:43 +0000 |
commit | 0f0170e66aa5137d949705375c22c85b0e6192ba (patch) | |
tree | b74b21635bb9dc2c491d162cdcace8f12ed5b397 /sys/amd64/ia32 | |
parent | a10b0e67d9e24adf63f0ea6b5df22fa29d064515 (diff) | |
download | src-0f0170e66aa5137d949705375c22c85b0e6192ba.tar.gz src-0f0170e66aa5137d949705375c22c85b0e6192ba.zip |
Retire write-only PCB_FULLCTX pcb flag on amd64.
Reminded by: Petr Salinger <Petr.Salinger seznam cz>
Tested by: pho
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=216253
Diffstat (limited to 'sys/amd64/ia32')
-rw-r--r-- | sys/amd64/ia32/ia32_signal.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/amd64/ia32/ia32_signal.c b/sys/amd64/ia32/ia32_signal.c index aefe9f0eb295..e0f30e2625df 100644 --- a/sys/amd64/ia32/ia32_signal.c +++ b/sys/amd64/ia32/ia32_signal.c @@ -207,7 +207,6 @@ ia32_set_mcontext(struct thread *td, const struct ia32_mcontext *mcp) tp->tf_rflags = rflags; tp->tf_rsp = mcp->mc_esp; tp->tf_ss = mcp->mc_ss; - td->td_pcb->pcb_flags |= PCB_FULLCTX; td->td_pcb->pcb_full_iret = 1; return (0); } @@ -743,7 +742,7 @@ ia32_setregs(struct thread *td, struct image_params *imgp, u_long stack) fpstate_drop(td); /* Return via doreti so that we can change to a different %cs */ - pcb->pcb_flags |= PCB_FULLCTX | PCB_32BIT; + pcb->pcb_flags |= PCB_32BIT; pcb->pcb_flags &= ~PCB_GS32BIT; td->td_pcb->pcb_full_iret = 1; td->td_retval[1] = 0; |