瀏覽代碼

[MIPS] Move definition of IRIX compat constant into IRIX compat code.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 19 年之前
父節點
當前提交
633fd568c1
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. 3 0
      arch/mips/kernel/irixsig.c
  2. 0 2
      include/asm-mips/signal.h

+ 3 - 0
arch/mips/kernel/irixsig.c

@@ -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)
 {

+ 0 - 2
include/asm-mips/signal.h

@@ -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>