Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334755
b: refs/heads/master
c: db023ea
h: refs/heads/master
i:
  334753: ec41e34
  334751: 2ffe32e
v: v3
  • Loading branch information
Oleg Nesterov committed Sep 29, 2012
1 parent 7f9dcc0 commit 99ed203
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: 1b08e907211cdc744f54871736005d9f3e7f182c
refs/heads/master: db023ea595015058270be6a62fe60a7b6b5c50d7
4 changes: 1 addition & 3 deletions trunk/arch/x86/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -785,10 +785,8 @@ do_notify_resume(struct pt_regs *regs, void *unused, __u32 thread_info_flags)
mce_notify_process();
#endif /* CONFIG_X86_64 && CONFIG_X86_MCE */

if (thread_info_flags & _TIF_UPROBE) {
clear_thread_flag(TIF_UPROBE);
if (thread_info_flags & _TIF_UPROBE)
uprobe_notify_resume(regs);
}

/* deal with pending signal delivery */
if (thread_info_flags & _TIF_SIGPENDING)
Expand Down
2 changes: 2 additions & 0 deletions trunk/kernel/events/uprobes.c
Original file line number Diff line number Diff line change
Expand Up @@ -1558,6 +1558,8 @@ void uprobe_notify_resume(struct pt_regs *regs)
{
struct uprobe_task *utask;

clear_thread_flag(TIF_UPROBE);

utask = current->utask;
if (utask && utask->active_uprobe)
handle_singlestep(utask, regs);
Expand Down

0 comments on commit 99ed203

Please sign in to comment.