[RFC] arm:remove clear_thread_flag(TIF_UPROBE)
Joe Perches
joe at perches.com
Fri Oct 31 00:45:35 PDT 2014
On Fri, 2014-10-31 at 15:40 +0800, Wang, Yalin wrote:
> This patch remove clear_thread_flag(TIF_UPROBE) in do_work_pending(),
> because uprobe_notify_resume() have do this.
[]
> diff --git a/arch/arm/kernel/signal.c b/arch/arm/kernel/signal.c
[]
> @@ -591,10 +591,9 @@ do_work_pending(struct pt_regs *regs, unsigned int thread_flags, int syscall)
> return restart;
> }
> syscall = 0;
> - } else if (thread_flags & _TIF_UPROBE) {
> - clear_thread_flag(TIF_UPROBE);
> + } else if (thread_flags & _TIF_UPROBE)
> uprobe_notify_resume(regs);
> - } else {
> + else {
> clear_thread_flag(TIF_NOTIFY_RESUME);
> tracehook_notify_resume(regs);
> }
Please keep the braces.
More information about the linux-arm-kernel
mailing list