]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/hexagon/kernel/process.c
Hexagon: fix return value for notify_resume case in do_work_pending
[karo-tx-linux.git] / arch / hexagon / kernel / process.c
index a91b290b923a1fe488c06392905270b9e04a0fb8..7fcc636b6238db8427e88b6d595ef10d53334072 100644 (file)
@@ -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 */