Merge to Fedora kernel-2.6.18-1.2224_FC5 patched with stable patch-2.6.18.1-vs2.0...
[linux-2.6.git] / include / linux / prctl.h
index bf022c4..52a9be4 100644 (file)
 #define PR_SET_NAME    15              /* Set process name */
 #define PR_GET_NAME    16              /* Get process name */
 
+/* Get/set process endian */
+#define PR_GET_ENDIAN  19
+#define PR_SET_ENDIAN  20
+# define PR_ENDIAN_BIG         0
+# define PR_ENDIAN_LITTLE      1       /* True little endian mode */
+# define PR_ENDIAN_PPC_LITTLE  2       /* "PowerPC" pseudo little endian */
+
 #endif /* _LINUX_PRCTL_H */