aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/events/uprobes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/events/uprobes.c b/kernel/events/uprobes.c
index d3f5381e7482..198d732ab901 100644
--- a/kernel/events/uprobes.c
+++ b/kernel/events/uprobes.c
@@ -1558,6 +1558,8 @@ void uprobe_notify_resume(struct pt_regs *regs)
1558{ 1558{
1559 struct uprobe_task *utask; 1559 struct uprobe_task *utask;
1560 1560
1561 clear_thread_flag(TIF_UPROBE);
1562
1561 utask = current->utask; 1563 utask = current->utask;
1562 if (utask && utask->active_uprobe) 1564 if (utask && utask->active_uprobe)
1563 handle_singlestep(utask, regs); 1565 handle_singlestep(utask, regs);