瀏覽代碼

Hexagon: fix return value for notify_resume case in do_work_pending

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Richard Kuo 12 年之前
父節點
當前提交
c710f59087
共有 1 個文件被更改,包括 1 次插入0 次删除
  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 */