[MIPS] Move definition of IRIX compat constant into IRIX compat code.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 4 Aug 2006 00:49:31 +0000 (01:49 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 27 Sep 2006 12:37:45 +0000 (13:37 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/irixsig.c
include/asm-mips/signal.h

index 719364752e7758c3b936203951d4dcd8b5e2f149..2132485caa744bbeddca7b4af11070b2e8c8591f 100644 (file)
@@ -323,6 +323,9 @@ struct sigact_irix5 {
        int _unused0[2];
 };
 
+#define SIG_SETMASK32  256     /* Goodie from SGI for BSD compatibility:
+                                  set only the low 32 bit of the sigset.  */
+
 #ifdef DEBUG_SIG
 static inline void dump_sigact_irix5(struct sigact_irix5 *p)
 {
index 5fc3a599d0144a046c27447915267d1113286394..8b391a2f0814ad113d4313be9bd84dd351d4a541 100644 (file)
@@ -108,8 +108,6 @@ typedef unsigned long old_sigset_t;         /* at least 32 bits */
 #define SIG_BLOCK      1       /* for blocking signals */
 #define SIG_UNBLOCK    2       /* for unblocking signals */
 #define SIG_SETMASK    3       /* for setting the signal mask */
-#define SIG_SETMASK32  256     /* Goodie from SGI for BSD compatibility:
-                                  set only the low 32 bit of the sigset.  */
 
 #include <asm-generic/signal.h>