From: Richard Kuo Date: Thu, 6 Dec 2012 22:37:43 +0000 (-0600) Subject: Hexagon: use correct work mask when checking for more work X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~16775^2~18 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=f8722a4d5243e779d6795e2d775c9114c44a6c26;p=mirror_ubuntu-focal-kernel.git Hexagon: use correct work mask when checking for more work Signed-off-by: Richard Kuo --- diff --git a/arch/hexagon/kernel/process.c b/arch/hexagon/kernel/process.c index 9eb43b3ae802..c300ce37267f 100644 --- a/arch/hexagon/kernel/process.c +++ b/arch/hexagon/kernel/process.c @@ -215,7 +215,7 @@ int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu) int do_work_pending(struct pt_regs *regs, u32 thread_info_flags) { - if (!(thread_info_flags & _TIF_ALLWORK_MASK)) { + if (!(thread_info_flags & _TIF_WORK_MASK)) { return 0; } /* shortcut -- no work to be done */