Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106886
b: refs/heads/master
c: 6558ba2
h: refs/heads/master
v: v3
  • Loading branch information
Roland McGrath authored and Benjamin Herrenschmidt committed Jul 28, 2008
1 parent 873e502 commit d53cc0c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 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: e2075f79a99b45a6cc10de021c93f07212098a84
refs/heads/master: 6558ba2b5cc3a2f22039db30616fcd07c1b28ac8
8 changes: 7 additions & 1 deletion trunk/arch/powerpc/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* this archive for more details.
*/

#include <linux/ptrace.h>
#include <linux/tracehook.h>
#include <linux/signal.h>
#include <asm/uaccess.h>
#include <asm/unistd.h>
Expand Down Expand Up @@ -177,6 +177,12 @@ int do_signal(sigset_t *oldset, struct pt_regs *regs)
* its frame, and we can clear the TLF_RESTORE_SIGMASK flag.
*/
current_thread_info()->local_flags &= ~_TLF_RESTORE_SIGMASK;

/*
* Let tracing know that we've done the handler setup.
*/
tracehook_signal_handler(signr, &info, &ka, regs,
test_thread_flag(TIF_SINGLESTEP));
}

return ret;
Expand Down

0 comments on commit d53cc0c

Please sign in to comment.