Skip to content

Commit

Permalink
[MIPS] Move definition of IRIX compat constant into IRIX compat code.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Sep 27, 2006
1 parent 6b3e5f4 commit 633fd56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions arch/mips/kernel/irixsig.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 0 additions & 2 deletions include/asm-mips/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit 633fd56

Please sign in to comment.