From: Richard Kuo Date: Mon, 8 Apr 2013 23:26:25 +0000 (-0500) Subject: Hexagon: fix return value for notify_resume case in do_work_pending X-Git-Tag: v3.10-rc1~46^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c710f5908768e18d8e8081e917fda362089cb13f;p=profile%2Fcommon%2Fkernel-common.git Hexagon: fix return value for notify_resume case in do_work_pending Signed-off-by: Richard Kuo --- diff --git a/arch/hexagon/kernel/process.c b/arch/hexagon/kernel/process.c index a91b290..7fcc636 100644 --- a/arch/hexagon/kernel/process.c +++ b/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 */