diff options
author | Richard Kuo <rkuo@codeaurora.org> | 2013-04-08 18:26:25 -0500 |
---|---|---|
committer | Richard Kuo <rkuo@codeaurora.org> | 2013-04-09 18:19:54 -0500 |
commit | dbae7c0b183388b0493f72428792ff12ad6f0a12 (patch) | |
tree | 00dbea116caed324e7215a6dee28fec00ef5cc9f | |
parent | 9dae9991de73aba14bfaab61534f292b781bc61e (diff) | |
download | linux-hexagon-kernel-dbae7c0b183388b0493f72428792ff12ad6f0a12.tar.gz |
Hexagon: fix return value for notify_resume case in do_work_pending
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
-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 a91b290b923a1..7fcc636b6238d 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 */ |