summaryrefslogtreecommitdiffstats
path: root/arch/hexagon/kernel/process.c
diff options
context:
space:
mode:
authorRichard Kuo <rkuo@codeaurora.org>2012-12-06 23:37:43 +0100
committerRichard Kuo <rkuo@codeaurora.org>2013-05-01 02:40:24 +0200
commitf8722a4d5243e779d6795e2d775c9114c44a6c26 (patch)
tree96cb2ee9217a28cdf108a2daaaabfc549d44d9f5 /arch/hexagon/kernel/process.c
parentHexagon: add support for additional exceptions (diff)
downloadlinux-f8722a4d5243e779d6795e2d775c9114c44a6c26.tar.xz
linux-f8722a4d5243e779d6795e2d775c9114c44a6c26.zip
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 */