diff options
author | Oleg Nesterov <oleg@redhat.com> | 2012-10-28 18:17:11 +0100 |
---|---|---|
committer | Oleg Nesterov <oleg@redhat.com> | 2012-11-03 17:15:10 +0100 |
commit | f57d56dd29003435d1bfc0e675896c368180f8ec (patch) | |
tree | 6cd13f83a99b828901c07ca593c4b83f0d387b2e /arch/powerpc/kernel/signal.c | |
parent | uprobes: Fix misleading log entry (diff) | |
download | linux-f57d56dd29003435d1bfc0e675896c368180f8ec.tar.xz linux-f57d56dd29003435d1bfc0e675896c368180f8ec.zip |
uprobes/powerpc: Don't clear TIF_UPROBE in do_notify_resume()
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>
Diffstat (limited to 'arch/powerpc/kernel/signal.c')
-rw-r--r-- | arch/powerpc/kernel/signal.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/signal.c b/arch/powerpc/kernel/signal.c index a2dc75793bd5..3b997118df50 100644 --- a/arch/powerpc/kernel/signal.c +++ b/arch/powerpc/kernel/signal.c @@ -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); |