Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 72788
b: refs/heads/master
c: c4e8308
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Oct 29, 2007
1 parent b38f694 commit 608ff95
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 38760d40ca61b18b2809e9c28df8b3ff9af8a02b
refs/heads/master: c4e8308c30b0139f89bac71f3c22c8d7413b8665
8 changes: 6 additions & 2 deletions trunk/arch/mips/kernel/irixsig.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@

#define _BLOCKABLE (~(_S(SIGKILL) | _S(SIGSTOP)))

#define _IRIX_NSIG 128
#define _IRIX_NSIG_BPW BITS_PER_LONG
#define _IRIX_NSIG_WORDS (_IRIX_NSIG / _IRIX_NSIG_BPW)

typedef struct {
unsigned long sig[4];
unsigned long sig[_IRIX_NSIG_WORDS];
} irix_sigset_t;

struct sigctx_irix5 {
Expand Down Expand Up @@ -527,7 +531,7 @@ asmlinkage int irix_sigpoll_sys(unsigned long __user *set,

expire = schedule_timeout_interruptible(expire);

for (i=0; i<=4; i++)
for (i=0; i < _IRIX_NSIG_WORDS; i++)
tmp |= (current->pending.signal.sig[i] & kset.sig[i]);

if (tmp)
Expand Down

0 comments on commit 608ff95

Please sign in to comment.