aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRichard Kuo <rkuo@codeaurora.org>2012-12-06 17:37:43 -0500
committerRichard Kuo <rkuo@codeaurora.org>2013-04-30 20:40:24 -0400
commitf8722a4d5243e779d6795e2d775c9114c44a6c26 (patch)
tree96cb2ee9217a28cdf108a2daaaabfc549d44d9f5 /arch
parentdb0fe532db3f60c93147514adfd1765894ea501e (diff)
Hexagon: use correct work mask when checking for more work
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch')
-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