diff options
author | Len Brown <len.brown@intel.com> | 2005-08-29 23:02:17 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-08-29 23:02:17 +0200 |
commit | 27a639a92d3289c4851105efcbc2f8b88969194f (patch) | |
tree | 09ee327d3ed3e2c40d5dc3b0f6b283477282deec /arch/mips/kernel/irixsig.c | |
parent | [ACPI] Reduce acpi-cpufreq switching latency by 50% (diff) | |
parent | [PATCH] missing include in smc-ultra (diff) | |
download | linux-27a639a92d3289c4851105efcbc2f8b88969194f.tar.xz linux-27a639a92d3289c4851105efcbc2f8b88969194f.zip |
Auto-update from upstream
Diffstat (limited to 'arch/mips/kernel/irixsig.c')
-rw-r--r-- | arch/mips/kernel/irixsig.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/mips/kernel/irixsig.c b/arch/mips/kernel/irixsig.c index 40244782a8e5..4c114ae21793 100644 --- a/arch/mips/kernel/irixsig.c +++ b/arch/mips/kernel/irixsig.c @@ -155,13 +155,12 @@ static inline void handle_signal(unsigned long sig, siginfo_t *info, else setup_irix_frame(ka, regs, sig, oldset); - if (!(ka->sa.sa_flags & SA_NODEFER)) { - spin_lock_irq(¤t->sighand->siglock); - sigorsets(¤t->blocked,¤t->blocked,&ka->sa.sa_mask); + spin_lock_irq(¤t->sighand->siglock); + sigorsets(¤t->blocked,¤t->blocked,&ka->sa.sa_mask); + if (!(ka->sa.sa_flags & SA_NODEFER)) sigaddset(¤t->blocked,sig); - recalc_sigpending(); - spin_unlock_irq(¤t->sighand->siglock); - } + recalc_sigpending(); + spin_unlock_irq(¤t->sighand->siglock); } asmlinkage int do_irix_signal(sigset_t *oldset, struct pt_regs *regs) |