From f8722a4d5243e779d6795e2d775c9114c44a6c26 Mon Sep 17 00:00:00 2001 From: Richard Kuo Date: Thu, 6 Dec 2012 16:37:43 -0600 Subject: Hexagon: use correct work mask when checking for more work Signed-off-by: Richard Kuo --- arch/hexagon/kernel/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/hexagon') 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 */ -- cgit v1.2.3