]> err.no Git - linux-2.6/blobdiff - include/math-emu/soft-fp.h
libata: rename SFF functions
[linux-2.6] / 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