patch-2.4.22 linux-2.4.22/include/asm-mips64/signal.h

Next file: linux-2.4.22/include/asm-mips64/smp.h
Previous file: linux-2.4.22/include/asm-mips64/sigcontext.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/include/asm-mips64/signal.h linux-2.4.22/include/asm-mips64/signal.h
@@ -16,9 +16,17 @@
 #define _NSIG_WORDS	(_NSIG / _NSIG_BPW)
 
 typedef struct {
-	long sig[_NSIG_WORDS];
+	unsigned long sig[_NSIG_WORDS];
 } sigset_t;
 
+#define _NSIG32		128
+#define _NSIG_BPW32	32
+#define _NSIG_WORDS32	(_NSIG32 / _NSIG_BPW32)
+
+typedef struct {
+	unsigned int sig[_NSIG_WORDS32];
+} sigset_t32;
+
 typedef unsigned long old_sigset_t;		/* at least 32 bits */
 typedef unsigned int old_sigset_t32;
 
@@ -87,7 +95,7 @@
 #define SA_ONESHOT	SA_RESETHAND
 #define SA_INTERRUPT	0x20000000	/* dummy -- ignored */
 
-#define SA_RESTORER	0x04000000
+#define SA_RESTORER	0x04000000	/* Only for o32 compat code */
 
 /*
  * sigaltstack controls
@@ -131,8 +139,6 @@
 	unsigned int	sa_flags;
 	__sighandler_t	sa_handler;
 	sigset_t	sa_mask;
-	void		(*sa_restorer)(void);
-	int		sa_resv[1];	/* reserved */
 };
 
 struct k_sigaction {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)