diff options
author | Greg Ungerer <gerg@snapgear.com> | 2005-09-01 20:42:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-02 03:57:30 -0400 |
commit | 8410a546765c10d929b82d1e8237398904a79283 (patch) | |
tree | 97376fb00d48074bacfaa04c64653beba81f7fe7 /arch/m68knommu/platform/68360 | |
parent | 5c4dbba9fc5e562db502e775e95023453b620409 (diff) |
[PATCH] m68knommu: use THREAD_SIZE instead of hard coded size
Use the THREAD_SIZE define when manipulating the stack instead of
hard coded values (for the 68328 and 68360 sub-architectures).
Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/m68knommu/platform/68360')
-rw-r--r-- | arch/m68knommu/platform/68360/entry.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68knommu/platform/68360/entry.S b/arch/m68knommu/platform/68360/entry.S index f7bc80a60e0..8ff48adf24a 100644 --- a/arch/m68knommu/platform/68360/entry.S +++ b/arch/m68knommu/platform/68360/entry.S | |||
@@ -96,7 +96,7 @@ Luser_return: | |||
96 | andw #ALLOWINT,%sr | 96 | andw #ALLOWINT,%sr |
97 | 97 | ||
98 | movel %sp,%d1 /* get thread_info pointer */ | 98 | movel %sp,%d1 /* get thread_info pointer */ |
99 | andl #0xffffe000,%d1 | 99 | andl #-THREAD_SIZE,%d1 |
100 | movel %d1,%a2 | 100 | movel %d1,%a2 |
101 | move %a2@(TI_FLAGS),%d1 /* thread_info->flags */ | 101 | move %a2@(TI_FLAGS),%d1 /* thread_info->flags */ |
102 | andl #_TIF_WORK_MASK,%d1 | 102 | andl #_TIF_WORK_MASK,%d1 |