Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306037
b: refs/heads/master
c: 60c5975
h: refs/heads/master
i:
  306035: ad9d19f
v: v3
  • Loading branch information
Matt Fleming authored and Al Viro committed May 22, 2012
1 parent 4f4daae commit 2594752
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 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: bcb8c8d0b7131df1b5aad011db33e17f8def5d0b
refs/heads/master: 60c597513ee93fc6a0b7f2cb83d0aa67d4204cf1
12 changes: 2 additions & 10 deletions trunk/arch/microblaze/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,7 @@ asmlinkage long sys_rt_sigreturn(struct pt_regs *regs)
goto badframe;

sigdelsetmask(&set, ~_BLOCKABLE);
spin_lock_irq(&current->sighand->siglock);
current->blocked = set;
recalc_sigpending();
spin_unlock_irq(&current->sighand->siglock);
set_current_blocked(&set);

if (restore_sigcontext(regs, &frame->uc.uc_mcontext, &rval))
goto badframe;
Expand Down Expand Up @@ -326,12 +323,7 @@ handle_signal(unsigned long sig, struct k_sigaction *ka,
if (ret)
return ret;

spin_lock_irq(&current->sighand->siglock);
sigorsets(&current->blocked, &current->blocked, &ka->sa.sa_mask);
if (!(ka->sa.sa_flags & SA_NODEFER))
sigaddset(&current->blocked, sig);
recalc_sigpending();
spin_unlock_irq(&current->sighand->siglock);
block_sigmask(ka, sig);

return 0;
}
Expand Down

0 comments on commit 2594752

Please sign in to comment.