[MATH-EMU]: Fix underflow exception reporting.
[linux-2.6.git] / include / asm-sparc64 / sfp-machine.h
index 89d4243..c9331b0 100644 (file)
@@ -88,4 +88,6 @@
 
 #define FP_INHIBIT_RESULTS ((current_thread_info()->xfsr[0] >> 23) & _fex)
 
+#define FP_TRAPPING_EXCEPTIONS ((current_thread_info()->xfsr[0] >> 23) & 0x1f)
+
 #endif