Hexagon: use correct work mask when checking for more work
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
This commit is contained in:
parent
db0fe532db
commit
f8722a4d52
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
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;
|
return 0;
|
||||||
} /* shortcut -- no work to be done */
|
} /* shortcut -- no work to be done */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue