Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306046
b: refs/heads/master
c: 43a3599
h: refs/heads/master
v: v3
  • Loading branch information
Matt Fleming authored and Al Viro committed May 22, 2012
1 parent eabf5a7 commit 60d64a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 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: 3334bf12480f10377e44d932baf53f34ec737f8b
refs/heads/master: 43a35995562495bd70a87b5d3a2e820036ee6597
11 changes: 3 additions & 8 deletions trunk/arch/m68k/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -795,8 +795,7 @@ asmlinkage int do_sigreturn(unsigned long __unused)
goto badframe;

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

if (restore_sigcontext(regs, &frame->sc, frame + 1))
goto badframe;
Expand All @@ -821,8 +820,7 @@ asmlinkage int do_rt_sigreturn(unsigned long __unused)
goto badframe;

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

if (rt_restore_ucontext(regs, sw, &frame->uc))
goto badframe;
Expand Down Expand Up @@ -1141,10 +1139,7 @@ handle_signal(int sig, struct k_sigaction *ka, siginfo_t *info,
if (err)
return;

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

if (test_thread_flag(TIF_DELAYED_TRACE)) {
regs->sr &= ~0x8000;
Expand Down

0 comments on commit 60d64a3

Please sign in to comment.