diff options
author | Greg Ungerer <gerg@uclinux.org> | 2011-02-02 20:17:55 -0500 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2011-02-08 00:07:45 -0500 |
commit | b3e338de7e11d1e5bc4eca12833d894d1838b510 (patch) | |
tree | 980cf1c3fe3ad216b9ae043988b35995482d9560 /arch/m68knommu/platform/68328/entry.S | |
parent | 4157a04d5d7def8661559cd98eb285a520d50075 (diff) |
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
cddafa3500fde4a07e5bf899ec97a04069f8f7ce, "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: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu/platform/68328/entry.S')
-rw-r--r-- | arch/m68knommu/platform/68328/entry.S | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/m68knommu/platform/68328/entry.S b/arch/m68knommu/platform/68328/entry.S index 240a7a6e25c..676960cf022 100644 --- a/arch/m68knommu/platform/68328/entry.S +++ b/arch/m68knommu/platform/68328/entry.S | |||
@@ -108,7 +108,6 @@ Luser_return: | |||
108 | movel %d1,%a2 | 108 | movel %d1,%a2 |
109 | 1: | 109 | 1: |
110 | move %a2@(TI_FLAGS),%d1 /* thread_info->flags */ | 110 | move %a2@(TI_FLAGS),%d1 /* thread_info->flags */ |
111 | andl #_TIF_WORK_MASK,%d1 | ||
112 | jne Lwork_to_do | 111 | jne Lwork_to_do |
113 | RESTORE_ALL | 112 | RESTORE_ALL |
114 | 113 | ||