aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/sfp-machine.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/asm-sparc64/sfp-machine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sparc64/sfp-machine.h b/include/asm-sparc64/sfp-machine.h
index 89d42431efb5..c9331b02d9c8 100644
--- a/include/asm-sparc64/sfp-machine.h
+++ b/include/asm-sparc64/sfp-machine.h
@@ -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