diff options
Diffstat (limited to 'sys/gnu/i386/fpemul/fpu_system.h')
-rw-r--r-- | sys/gnu/i386/fpemul/fpu_system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/gnu/i386/fpemul/fpu_system.h b/sys/gnu/i386/fpemul/fpu_system.h index a77f0c2f45ec..f4927c88f8ff 100644 --- a/sys/gnu/i386/fpemul/fpu_system.h +++ b/sys/gnu/i386/fpemul/fpu_system.h @@ -69,7 +69,7 @@ #include <linux/kernel.h> */ -#define I387 (*(union i387_union *)&(((struct pcb *)curproc->p_addr)->pcb_save.sv_87)) +#define I387 (*(union i387_union *)&(curthread->td_pcb->pcb_save.sv_87)) #define FPU_info (I387.soft.frame) #define FPU_CS (*(unsigned short *) &(FPU_info->tf_cs)) |