aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/hexagon/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
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)
215 215
216int do_work_pending(struct pt_regs *regs, u32 thread_info_flags) 216int do_work_pending(struct pt_regs *regs, u32 thread_info_flags)
217{ 217{
218 if (!(thread_info_flags & _TIF_ALLWORK_MASK)) { 218 if (!(thread_info_flags & _TIF_WORK_MASK)) {
219 return 0; 219 return 0;
220 } /* shortcut -- no work to be done */ 220 } /* shortcut -- no work to be done */
221 221