Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 295304
b: refs/heads/master
c: d8d4b20
h: refs/heads/master
v: v3
  • Loading branch information
Matt Fleming authored and Jonas Bonn committed Feb 17, 2012
1 parent 4ac6208 commit 551c88f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 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: e933c70de0e2590d41f5edd3133e7ee12b4e0bc6
refs/heads/master: d8d4b20df48287a7e9e37f706c410b13bc0438cf
13 changes: 2 additions & 11 deletions trunk/arch/openrisc/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,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))
goto badframe;
Expand Down Expand Up @@ -265,13 +262,7 @@ handle_signal(unsigned long sig,
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 551c88f

Please sign in to comment.