]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
Hexagon: use correct work mask when checking for more work
authorRichard Kuo <rkuo@codeaurora.org>
Thu, 6 Dec 2012 22:37:43 +0000 (16:37 -0600)
committerRichard Kuo <rkuo@codeaurora.org>
Wed, 1 May 2013 00:40:24 +0000 (19:40 -0500)
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
arch/hexagon/kernel/process.c

index 9eb43b3ae8023606aefcf06448265ad95d70fd43..c300ce37267f32647076bbd5f6ccbb4a38e0bb7f 100644 (file)
@@ -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 */