aboutsummaryrefslogtreecommitdiff
path: root/arch/ppc/math-emu/sfp-machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/math-emu/sfp-machine.h')
-rw-r--r--arch/ppc/math-emu/sfp-machine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/math-emu/sfp-machine.h b/arch/ppc/math-emu/sfp-machine.h
index 686e06d2918..4b17d83cfcd 100644
--- a/arch/ppc/math-emu/sfp-machine.h
+++ b/arch/ppc/math-emu/sfp-machine.h
@@ -166,7 +166,7 @@ extern int fp_pack_ds(void *, long, unsigned long, unsigned long, long, long);
#include <linux/kernel.h>
#include <linux/sched.h>
-#define __FPU_FPSCR (current->thread.fpscr)
+#define __FPU_FPSCR (current->thread.fpscr.val)
/* We only actually write to the destination register
* if exceptions signalled (if any) will not trap.