MIPS: Indicate FP mode in sigcontext sc_used_math
[linux-drm-fsl-dcu.git] / arch / mips / include / uapi / asm / sigcontext.h
index 9081d88ae44f31a1bf0c2e4d5c4ae1bdc0e487db..28f51bb4704665666b3946a10354504b1d3af2cf 100644 (file)
 #include <linux/types.h>
 #include <asm/sgidefs.h>
 
+/* scalar FP context was used */
+#define USED_FP                        (1 << 0)
+
+/* the value of Status.FR when context was saved */
+#define USED_FR1               (1 << 1)
+
+/* FR=1, but with odd singles in bits 63:32 of preceding even double */
+#define USED_HYBRID_FPRS       (1 << 2)
+
 #if _MIPS_SIM == _MIPS_SIM_ABI32
 
 /*