RE: [RFC] arm:remove clear_thread_flag(TIF_UPROBE)

From: Wang, Yalin
Date: Fri Oct 31 2014 - 03:51:53 EST


> From: Joe Perches [mailto:joe@xxxxxxxxxxx]
> > 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.

mm.. could I know the reason ? :)

Thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/