Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306038
b: refs/heads/master
c: 7a076e4
h: refs/heads/master
v: v3
  • Loading branch information
Matt Fleming authored and Al Viro committed May 22, 2012
1 parent 2594752 commit 3b460cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 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: 60c597513ee93fc6a0b7f2cb83d0aa67d4204cf1
refs/heads/master: 7a076e4ff07ffc2c219285ec57aed8bdde86cb37
15 changes: 2 additions & 13 deletions trunk/arch/ia64/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,13 +201,7 @@ ia64_rt_sigreturn (struct sigscratch *scr)
goto give_sigsegv;

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(sc, scr))
goto give_sigsegv;
Expand Down Expand Up @@ -427,12 +421,7 @@ handle_signal (unsigned long sig, struct k_sigaction *ka, siginfo_t *info, sigse
if (!setup_frame(sig, ka, info, oldset, scr))
return 0;

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);

/*
* Let tracing know that we've done the handler setup.
Expand Down

0 comments on commit 3b460cf

Please sign in to comment.