aboutsummaryrefslogtreecommitdiffstats
path: root/arch/hexagon
diff options
context:
space:
mode:
authorRichard Kuo <rkuo@codeaurora.org>2013-04-08 19:26:25 -0400
committerRichard Kuo <rkuo@codeaurora.org>2013-04-30 20:40:27 -0400
commitc710f5908768e18d8e8081e917fda362089cb13f (patch)
tree880396ed6ba49aed29e9c5cccf1d6caf64b6327f /arch/hexagon
parent610208bc8dec79e0ff4930a330187597d89ab861 (diff)
Hexagon: fix return value for notify_resume case in do_work_pending
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch/hexagon')
-rw-r--r--arch/hexagon/kernel/process.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/hexagon/kernel/process.c b/arch/hexagon/kernel/process.c
index a91b290b923a..7fcc636b6238 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)
235 if (thread_info_flags & _TIF_NOTIFY_RESUME) { 235 if (thread_info_flags & _TIF_NOTIFY_RESUME) {
236 clear_thread_flag(TIF_NOTIFY_RESUME); 236 clear_thread_flag(TIF_NOTIFY_RESUME);
237 tracehook_notify_resume(regs); 237 tracehook_notify_resume(regs);
238 return 1;
238 } 239 }
239 240
240 /* Should not even reach here */ 241 /* Should not even reach here */