Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f8722a4d authored by Richard Kuo's avatar Richard Kuo
Browse files

Hexagon: use correct work mask when checking for more work



Signed-off-by: default avatarRichard Kuo <rkuo@codeaurora.org>
parent db0fe532
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */