summaryrefslogtreecommitdiffstats
path: root/sys/gnu/i386
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-07-12 12:19:11 +0000
committerpeter <peter@FreeBSD.org>2001-07-12 12:19:11 +0000
commita5f5f72a7b265bdf3d2cb335da4cf90306b3d84b (patch)
treebfddd26b475d2ffbf993f7aa79e914799c70a249 /sys/gnu/i386
parenta8bbb8398cc5a99bb7b8fe3571a722b5e89b81ba (diff)
downloadFreeBSD-src-a5f5f72a7b265bdf3d2cb335da4cf90306b3d84b.zip
FreeBSD-src-a5f5f72a7b265bdf3d2cb335da4cf90306b3d84b.tar.gz
Do not depend on pcb_savefpu backwards compat #define.
Diffstat (limited to 'sys/gnu/i386')
-rw-r--r--sys/gnu/i386/fpemul/fpu_system.h2
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 aff0a0d..a77f0c2 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_savefpu))
+#define I387 (*(union i387_union *)&(((struct pcb *)curproc->p_addr)->pcb_save.sv_87))
#define FPU_info (I387.soft.frame)
#define FPU_CS (*(unsigned short *) &(FPU_info->tf_cs))
OpenPOWER on IntegriCloud