]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/math-emu/soft-fp.h
kbuild: ftrace: don't assume that scripts/recordmcount.pl is executable
[linux-2.6-omap-h63xx.git] / include / math-emu / soft-fp.h
index d02eb64a865bb4acbe81a148584fd92341cd14ae..a6f873b45f98aa04466fcea158c13711157b0edb 100644 (file)
 #define FP_INHIBIT_RESULTS 0
 #endif
 
+#ifndef FP_TRAPPING_EXCEPTIONS
+#define FP_TRAPPING_EXCEPTIONS 0
+#endif
+
 #define FP_SET_EXCEPTION(ex)                           \
   _fex |= (ex)
   
 #define FP_UNSET_EXCEPTION(ex)                         \
   _fex &= ~(ex)
 
+#define FP_CUR_EXCEPTIONS                              \
+  (_fex)
+
 #define FP_CLEAR_EXCEPTIONS                            \
   _fex = 0