summaryrefslogtreecommitdiff
path: root/arch/hexagon/kernel/process.c
diff options
context:
space:
mode:
authorRichard Kuo <rkuo@codeaurora.org>2012-12-07 02:37:43 +0400
committerRichard Kuo <rkuo@codeaurora.org>2013-05-01 04:40:24 +0400
commitf8722a4d5243e779d6795e2d775c9114c44a6c26 (patch)
tree96cb2ee9217a28cdf108a2daaaabfc549d44d9f5 /arch/hexagon/kernel/process.c
parentdb0fe532db3f60c93147514adfd1765894ea501e (diff)
downloadlinux-f8722a4d5243e779d6795e2d775c9114c44a6c26.tar.xz
Hexagon: use correct work mask when checking for more work
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch/hexagon/kernel/process.c')
-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)
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 */