]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/ppc/math-emu/sfp-machine.h
[PATCH] powerpc: Fix handling of fpscr on 64-bit
[karo-tx-linux.git] / arch / ppc / math-emu / sfp-machine.h
index 686e06d2918694365e227b18b42fb8949d52cb4c..4b17d83cfcdd616dd1ac043d51f7c59f3909b7cc 100644 (file)
@@ -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.