Hexagon: fix return value for notify_resume case in do_work_pending
authorRichard Kuo <rkuo@codeaurora.org>
Mon, 8 Apr 2013 23:26:25 +0000 (18:26 -0500)
committerRichard Kuo <rkuo@codeaurora.org>
Wed, 1 May 2013 00:40:27 +0000 (19:40 -0500)
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
arch/hexagon/kernel/process.c

index a91b290..7fcc636 100644 (file)
@@ -235,6 +235,7 @@ int do_work_pending(struct pt_regs *regs, u32 thread_info_flags)
        if (thread_info_flags & _TIF_NOTIFY_RESUME) {
                clear_thread_flag(TIF_NOTIFY_RESUME);
                tracehook_notify_resume(regs);
+               return 1;
        }
 
        /* Should not even reach here */