Index: arch/mips/include/asm/signal.h
===================================================================
--- arch/mips/include/asm/signal.h (revision 21038)
+++ arch/mips/include/asm/signal.h (working copy)
@@ -11,6 +11,9 @@
#include <linux/types.h>
+#define ARCH_HAS_NO_SA_RESTORER_FIELD
+
+
#define _NSIG 128
#define _NSIG_BPW (sizeof(unsigned long) * 8)
#define _NSIG_WORDS (_NSIG / _NSIG_BPW)
Index: kernel/signal.c
===================================================================
--- kernel/signal.c (revision 21038)
+++ kernel/signal.c (working copy)
@@ -481,7 +481,7 @@
if (force_default || ka->sa.sa_handler != SIG_IGN)
ka->sa.sa_handler = SIG_DFL;
ka->sa.sa_flags = 0;
-#ifdef SA_RESTORER
+#if defined(SA_RESTORER) && !defined(ARCH_HAS_NO_SA_RESTORER_FIELD)
ka->sa.sa_restorer = NULL;
#endif
sigemptyset(&ka->sa.sa_mask);
regards,
Sebastian Gottschall
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
as already written multiple times here, all current kernels are unable
to compile on mips due a bad patch.
to avoid these problems i advice to use the following patch or any other
modified variant which works in the same way
- patch for broken 3.8.4, 3.4.37, 3.2.41 kernels on mip... Sebastian Gottschall
- Re: patch for broken 3.8.4, 3.4.37, 3.2.41 kerne... Luis Henriques
