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

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

diff -urN linux-2.4.21/include/asm-mips/signal.h linux-2.4.22/include/asm-mips/signal.h
@@ -9,6 +9,7 @@
 #ifndef _ASM_SIGNAL_H
 #define _ASM_SIGNAL_H
 
+#include <linux/config.h>
 #include <linux/types.h>
 
 #define _NSIG		128
@@ -130,12 +131,13 @@
 	unsigned int	sa_flags;
 	__sighandler_t	sa_handler;
 	sigset_t	sa_mask;
-	void		(*sa_restorer)(void);
-	int		sa_resv[1];	/* reserved */
 };
 
 struct k_sigaction {
 	struct sigaction sa;
+#ifdef CONFIG_BINFMT_IRIX
+	void		(*sa_restorer)(void);
+#endif
 };
 
 /* IRIX compatible stack_t  */

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