summaryrefslogtreecommitdiffstats
path: root/kernel/arch/x86/math-emu/fpu_system.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/x86/math-emu/fpu_system.h')
-rw-r--r--kernel/arch/x86/math-emu/fpu_system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/arch/x86/math-emu/fpu_system.h b/kernel/arch/x86/math-emu/fpu_system.h
index d342fce49..5e044d506 100644
--- a/kernel/arch/x86/math-emu/fpu_system.h
+++ b/kernel/arch/x86/math-emu/fpu_system.h
@@ -46,7 +46,7 @@ static inline struct desc_struct FPU_get_ldt_descriptor(unsigned seg)
#define SEG_EXPAND_DOWN(s) (((s).b & ((1 << 11) | (1 << 10))) \
== (1 << 10))
-#define I387 (current->thread.fpu.state)
+#define I387 (&current->thread.fpu.state)
#define FPU_info (I387->soft.info)
#define FPU_CS (*(unsigned short *) &(FPU_info->regs->cs))