Browse Source

Hexagon: fix return value for notify_resume case in do_work_pending

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Richard Kuo 12 years ago
parent
commit
c710f59087
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/hexagon/kernel/process.c

+ 1 - 0
arch/hexagon/kernel/process.c

@@ -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 */