summaryrefslogtreecommitdiffstats
path: root/sys/amd64/ia32/ia32_reg.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64/ia32/ia32_reg.c')
-rw-r--r--sys/amd64/ia32/ia32_reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/ia32/ia32_reg.c b/sys/amd64/ia32/ia32_reg.c
index da6eb0f..279df9a 100644
--- a/sys/amd64/ia32/ia32_reg.c
+++ b/sys/amd64/ia32/ia32_reg.c
@@ -125,7 +125,7 @@ set_regs32(struct thread *td, struct reg32 *regs)
tp->tf_fs = regs->r_fs;
tp->tf_es = regs->r_es;
tp->tf_ds = regs->r_ds;
- td->td_pcb->pcb_full_iret = 1;
+ set_pcb_flags(pcb, PCB_FULL_IRET);
tp->tf_flags = TF_HASSEGS;
tp->tf_rdi = regs->r_edi;
tp->tf_rsi = regs->r_esi;
OpenPOWER on IntegriCloud