]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
uprobes/powerpc: Don't clear TIF_UPROBE in do_notify_resume()
authorOleg Nesterov <oleg@redhat.com>
Sun, 28 Oct 2012 17:17:11 +0000 (18:17 +0100)
committerOleg Nesterov <oleg@redhat.com>
Sat, 3 Nov 2012 16:15:10 +0000 (17:15 +0100)
Cleanup. No need to clear TIF_UPROBE, uprobe_notify_resume() does this.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
arch/powerpc/kernel/signal.c

index a2dc75793bd56b2d09786f9cbf3400b0f6051e51..3b997118df5085e0389eb413988f0d5cbde71c92 100644 (file)
@@ -158,10 +158,8 @@ static int do_signal(struct pt_regs *regs)
 
 void do_notify_resume(struct pt_regs *regs, unsigned long thread_info_flags)
 {
-       if (thread_info_flags & _TIF_UPROBE) {
-               clear_thread_flag(TIF_UPROBE);
+       if (thread_info_flags & _TIF_UPROBE)
                uprobe_notify_resume(regs);
-       }
 
        if (thread_info_flags & _TIF_SIGPENDING)
                do_signal(regs);