Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 295262
b: refs/heads/master
c: 43aca32
h: refs/heads/master
v: v3
  • Loading branch information
Matt Fleming authored and Linus Torvalds committed Mar 23, 2012
1 parent 78b82d0 commit 4561d91
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: ee00560c7dac1dbbf048446a8489550d0a5765b7
refs/heads/master: 43aca3246cb7f736b20c11da9ce932a124a2a85a
12 changes: 2 additions & 10 deletions trunk/arch/hexagon/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,7 @@ static int handle_signal(int sig, siginfo_t *info, struct k_sigaction *ka,
if (rc)
return rc;

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 Expand Up @@ -305,10 +300,7 @@ asmlinkage int sys_rt_sigreturn(void)
goto badframe;

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

if (restore_sigcontext(regs, &frame->uc.uc_mcontext))
goto badframe;
Expand Down

0 comments on commit 4561d91

Please sign in to comment.