ARM: 8194/1: remove clear_thread_flag(TIF_UPROBE)
authorYalin Wang <Yalin.Wang@sonymobile.com>
Thu, 6 Nov 2014 02:40:07 +0000 (03:40 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 17 Nov 2014 20:53:55 +0000 (20:53 +0000)
This patch remove clear_thread_flag(TIF_UPROBE) in do_work_pending(),
because uprobe_notify_resume() have do this.

Signed-off-by: Yalin Wang <yalin.wang@sonymobile.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/signal.c

index bd19834..8aa6f1b 100644 (file)
@@ -592,7 +592,6 @@ do_work_pending(struct pt_regs *regs, unsigned int thread_flags, int syscall)
                                }
                                syscall = 0;
                        } else if (thread_flags & _TIF_UPROBE) {
-                               clear_thread_flag(TIF_UPROBE);
                                uprobe_notify_resume(regs);
                        } else {
                                clear_thread_flag(TIF_NOTIFY_RESUME);