From: Ralf Baechle Date: Fri, 4 Aug 2006 00:49:31 +0000 (+0100) Subject: [MIPS] Move definition of IRIX compat constant into IRIX compat code. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=633fd568c1db825b9eb563681af09260ecee87b6;p=openwrt%2Fstaging%2Fblogic.git [MIPS] Move definition of IRIX compat constant into IRIX compat code. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/irixsig.c b/arch/mips/kernel/irixsig.c index 719364752e77..2132485caa74 100644 --- a/arch/mips/kernel/irixsig.c +++ b/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) { diff --git a/include/asm-mips/signal.h b/include/asm-mips/signal.h index 5fc3a599d014..8b391a2f0814 100644 --- a/include/asm-mips/signal.h +++ b/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