diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-08-03 20:49:31 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-09-27 08:37:45 -0400 |
commit | 633fd568c1db825b9eb563681af09260ecee87b6 (patch) | |
tree | 367eda7fc503cd8224658a07aa035a8e40ccfcf1 | |
parent | 6b3e5f44b56745daad8cd913ccc7bcd9a9ece5ea (diff) |
[MIPS] Move definition of IRIX compat constant into IRIX compat code.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/kernel/irixsig.c | 3 | ||||
-rw-r--r-- | include/asm-mips/signal.h | 2 |
2 files changed, 3 insertions, 2 deletions
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 { | |||
323 | int _unused0[2]; | 323 | int _unused0[2]; |
324 | }; | 324 | }; |
325 | 325 | ||
326 | #define SIG_SETMASK32 256 /* Goodie from SGI for BSD compatibility: | ||
327 | set only the low 32 bit of the sigset. */ | ||
328 | |||
326 | #ifdef DEBUG_SIG | 329 | #ifdef DEBUG_SIG |
327 | static inline void dump_sigact_irix5(struct sigact_irix5 *p) | 330 | static inline void dump_sigact_irix5(struct sigact_irix5 *p) |
328 | { | 331 | { |
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 */ | |||
108 | #define SIG_BLOCK 1 /* for blocking signals */ | 108 | #define SIG_BLOCK 1 /* for blocking signals */ |
109 | #define SIG_UNBLOCK 2 /* for unblocking signals */ | 109 | #define SIG_UNBLOCK 2 /* for unblocking signals */ |
110 | #define SIG_SETMASK 3 /* for setting the signal mask */ | 110 | #define SIG_SETMASK 3 /* for setting the signal mask */ |
111 | #define SIG_SETMASK32 256 /* Goodie from SGI for BSD compatibility: | ||
112 | set only the low 32 bit of the sigset. */ | ||
113 | 111 | ||
114 | #include <asm-generic/signal.h> | 112 | #include <asm-generic/signal.h> |
115 | 113 | ||