patch-2.4.25 linux-2.4.25/include/asm-mips/siginfo.h
Next file: linux-2.4.25/include/asm-mips/smp.h
Previous file: linux-2.4.25/include/asm-mips/sibyte/64bit.h
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
2004-02-18 05:36:32.000000000 -0800
- Orig file:
linux-2.4.24/include/asm-mips/siginfo.h
- Orig date:
2002-11-28 15:53:15.000000000 -0800
diff -urN linux-2.4.24/include/asm-mips/siginfo.h linux-2.4.25/include/asm-mips/siginfo.h
@@ -3,7 +3,7 @@
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
- * Copyright (C) 1998, 1999 by Ralf Baechle
+ * Copyright (C) 1998, 1999, 2003 by Ralf Baechle
*/
#ifndef _ASM_SIGINFO_H
#define _ASM_SIGINFO_H
@@ -209,19 +209,18 @@
* thread manager then catches and does the appropriate nonsense.
* However, everything is written out here so as to not get lost.
*/
-#define SIGEV_NONE 128 /* other notification: meaningless */
-#define SIGEV_SIGNAL 129 /* notify via signal */
-#define SIGEV_CALLBACK 130 /* ??? */
-#define SIGEV_THREAD 131 /* deliver via thread creation */
+#define SIGEV_SIGNAL 0 /* notify via signal */
+#define SIGEV_NONE 1 /* other notification: meaningless */
+#define SIGEV_THREAD 2 /* deliver via thread creation */
#define SIGEV_MAX_SIZE 64
-#define SIGEV_PAD_SIZE ((SIGEV_MAX_SIZE/sizeof(int)) - 4)
+#define SIGEV_HEAD_SIZE (sizeof(long) + 2*sizeof(int))
+#define SIGEV_PAD_SIZE ((SIGEV_MAX_SIZE-SIGEV_HEAD_SIZE) / sizeof(int))
-/* XXX This one isn't yet IRIX / ABI compatible. */
typedef struct sigevent {
- int sigev_notify;
sigval_t sigev_value;
int sigev_signo;
+ int sigev_notify;
union {
int _pad[SIGEV_PAD_SIZE];
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)