summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/i386/vm_machdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/i386/vm_machdep.c b/sys/i386/i386/vm_machdep.c
index 2cf8e01..1341265 100644
--- a/sys/i386/i386/vm_machdep.c
+++ b/sys/i386/i386/vm_machdep.c
@@ -248,6 +248,8 @@ void
cpu_exit(struct thread *td)
{
struct mdproc *mdp;
+ struct pcb *pcb = td->td_pcb;
+
/* Reset pc->pcb_gs and %gs before possibly invalidating it. */
mdp = &td->td_proc->p_md;
OpenPOWER on IntegriCloud