Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306080
b: refs/heads/master
c: 415d04d
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed May 22, 2012
1 parent 99e5b42 commit 2f35ec0
Show file tree
Hide file tree
Showing 2 changed files with 6 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: a53bb24e7666870bbc195e295a936aa0a58ce313
refs/heads/master: 415d04d08fec74b226c92c1fb54ad117c9c6bac4
13 changes: 5 additions & 8 deletions trunk/arch/unicore32/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -447,15 +447,12 @@ static void do_signal(struct pt_regs *regs, int syscall)
regs->UCreg_00 == -ERESTARTNOINTR) {
setup_syscall_restart(regs);
}

/* If there's no signal to deliver, we just put the saved
* sigmask back.
*/
if (test_thread_flag(TIF_RESTORE_SIGMASK)) {
clear_thread_flag(TIF_RESTORE_SIGMASK);
sigprocmask(SIG_SETMASK, &current->saved_sigmask, NULL);
}
}
/* If there's no signal to deliver, we just put the saved
* sigmask back.
*/
if (test_and_clear_thread_flag(TIF_RESTORE_SIGMASK))
set_current_blocked(&current->saved_sigmask);
}

asmlinkage void do_notify_resume(struct pt_regs *regs,
Expand Down

0 comments on commit 2f35ec0

Please sign in to comment.