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