summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/amd64/amd64/machdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index 2d7dd1f..75c6add 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -1405,7 +1405,6 @@ fill_regs(struct thread *td, struct reg *regs)
int
set_regs(struct thread *td, struct reg *regs)
{
- struct pcb *pcb;
struct trapframe *tp;
register_t rflags;
@@ -1433,7 +1432,7 @@ set_regs(struct thread *td, struct reg *regs)
tp->tf_rflags = rflags;
tp->tf_rsp = regs->r_rsp;
tp->tf_ss = regs->r_ss;
- pcb = td->td_pcb;
+ td->td_pcb->pcb_flags |= PCB_FULLCTX;
return (0);
}
OpenPOWER on IntegriCloud