aboutsummaryrefslogtreecommitdiffstats
path: root/include/math-emu/soft-fp.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2007-08-23 10:43:14 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2007-08-23 10:43:14 +0100
commitac0c955d5048c2c580fa7166a89133f0fd76c125 (patch)
tree041ac4fb544c7244a1a0b35c8ceabc142d5645c1 /include/math-emu/soft-fp.h
parent[MTD] mtdoops printk warning fixes (diff)
parentApply memory policies to top two highest zones when highest zone is ZONE_MOVABLE (diff)
downloadlinux-dev-ac0c955d5048c2c580fa7166a89133f0fd76c125.tar.xz
linux-dev-ac0c955d5048c2c580fa7166a89133f0fd76c125.zip
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'include/math-emu/soft-fp.h')
-rw-r--r--include/math-emu/soft-fp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/math-emu/soft-fp.h b/include/math-emu/soft-fp.h
index d02eb64a865b..a6f873b45f98 100644
--- a/include/math-emu/soft-fp.h
+++ b/include/math-emu/soft-fp.h
@@ -97,12 +97,19 @@
#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