patch-2.4.21 linux-2.4.21/include/linux/prctl.h
Next file: linux-2.4.21/include/linux/raid/md.h
Previous file: linux-2.4.21/include/linux/pci_ids.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
2003-06-13 07:51:39.000000000 -0700
- Orig file:
linux-2.4.20/include/linux/prctl.h
- Orig date:
2002-02-25 11:38:13.000000000 -0800
diff -urN linux-2.4.20/include/linux/prctl.h linux-2.4.21/include/linux/prctl.h
@@ -26,4 +26,12 @@
# define PR_FPEMU_NOPRINT 1 /* silently emulate fp operations accesses */
# define PR_FPEMU_SIGFPE 2 /* don't emulate fp operations, send SIGFPE instead */
+/* Get/set floating-point exception mode (if meaningful) */
+#define PR_GET_FPEXC 11
+#define PR_SET_FPEXC 12
+# define PR_FP_EXC_DISABLED 0 /* FP exceptions disabled */
+# define PR_FP_EXC_NONRECOV 1 /* async non-recoverable exc. mode */
+# define PR_FP_EXC_ASYNC 2 /* async recoverable exception mode */
+# define PR_FP_EXC_PRECISE 3 /* precise exception mode */
+
#endif /* _LINUX_PRCTL_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)