diff options
author | Richard Kuo <rkuo@codeaurora.org> | 2013-04-09 01:26:25 +0200 |
---|---|---|
committer | Richard Kuo <rkuo@codeaurora.org> | 2013-05-01 02:40:27 +0200 |
commit | c710f5908768e18d8e8081e917fda362089cb13f (patch) | |
tree | 880396ed6ba49aed29e9c5cccf1d6caf64b6327f /arch | |
parent | Hexagon: fix signal number for user mem faults (diff) | |
download | linux-c710f5908768e18d8e8081e917fda362089cb13f.tar.xz linux-c710f5908768e18d8e8081e917fda362089cb13f.zip |
Hexagon: fix return value for notify_resume case in do_work_pending
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/hexagon/kernel/process.c | 1 |
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) if (thread_info_flags & _TIF_NOTIFY_RESUME) { clear_thread_flag(TIF_NOTIFY_RESUME); tracehook_notify_resume(regs); + return 1; } /* Should not even reach here */ |