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

Commit b3e338de authored by Greg Ungerer's avatar Greg Ungerer
Browse files

m68knommu: fix use of un-defined _TIF_WORK_MASK



The _TIF_WORK_MASK definition was removed in the clean up of MMU and
non-MMU arch/m68k/include/asm/thread_info*.h files (this was commit
cddafa35, "merge MMU and non-MMU
thread_info.h").

It didn't get cleaned out of the entry.S code for the 68328 and 68360
based platforms. And it was replaced by a hard coded constant mask for
coldfire platforms. There is currently no need to mask any of these bits,
so fix all uses (and former uses) to check for any non-zero value.

Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
parent 4157a04d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -108,7 +108,6 @@ Luser_return:
	movel	%d1,%a2
1:
	move	%a2@(TI_FLAGS),%d1	/* thread_info->flags */
	andl	#_TIF_WORK_MASK,%d1
	jne	Lwork_to_do
	RESTORE_ALL

+0 −1
Original line number Diff line number Diff line
@@ -104,7 +104,6 @@ Luser_return:
	movel	%d1,%a2
1:
	move	%a2@(TI_FLAGS),%d1	/* thread_info->flags */
	andl	#_TIF_WORK_MASK,%d1
	jne	Lwork_to_do
	RESTORE_ALL

+0 −1
Original line number Diff line number Diff line
@@ -138,7 +138,6 @@ Luser_return:
	andl	#-THREAD_SIZE,%d1	/* at base of kernel stack */
	movel	%d1,%a0
	movel	%a0@(TI_FLAGS),%d1	/* get thread_info->flags */
	andl	#0xefff,%d1
	jne	Lwork_to_do		/* still work to do */

Lreturn: