]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/mips/math-emu/ieee754.h
Merge branch 'master'
[linux-2.6-omap-h63xx.git] / arch / mips / math-emu / ieee754.h
index 5689b0cf018591c0602cb80e181dafdacc4aa072..dd917332792c644ab1273fa23abf5d95b6c448db 100644 (file)
@@ -22,6 +22,8 @@
  *  Kevin D. Kissell, kevink@mips.com and Carsten Langgard, carstenl@mips.com
  *  Copyright (C) 2000 MIPS Technologies, Inc. All rights reserved.
  */
+#ifndef __ARCH_MIPS_MATH_EMU_IEEE754_H
+#define __ARCH_MIPS_MATH_EMU_IEEE754_H
 
 #include <asm/byteorder.h>
 #include <linux/types.h>
@@ -203,7 +205,6 @@ ieee754dp ieee754dp_sqrt(ieee754dp x);
 #define IEEE754_CLASS_INF      0x03
 #define IEEE754_CLASS_SNAN     0x04
 #define IEEE754_CLASS_QNAN     0x05
-extern const char *const ieee754_cname[];
 
 /* exception numbers */
 #define IEEE754_INEXACT                        0x01
@@ -328,7 +329,7 @@ struct _ieee754_csr {
        unsigned pad0:7;
 #endif
 };
-#define ieee754_csr (*(struct _ieee754_csr *)(&current->thread.fpu.soft.fcr31))
+#define ieee754_csr (*(struct _ieee754_csr *)(&current->thread.fpu.fcr31))
 
 static inline unsigned ieee754_getrm(void)
 {
@@ -466,3 +467,5 @@ extern void ieee754_xcpt(struct ieee754xctx *xcp);
 /* compat */
 #define ieee754dp_fix(x)       ieee754dp_tint(x)
 #define ieee754sp_fix(x)       ieee754sp_tint(x)
+
+#endif /* __ARCH_MIPS_MATH_EMU_IEEE754_H */