diff options
-rw-r--r-- | arch/m68knommu/platform/68328/entry.S | 4 | ||||
-rw-r--r-- | arch/m68knommu/platform/68360/entry.S | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/m68knommu/platform/68328/entry.S b/arch/m68knommu/platform/68328/entry.S index 0f5d1fe8eb5f..7d8990d784a2 100644 --- a/arch/m68knommu/platform/68328/entry.S +++ b/arch/m68knommu/platform/68328/entry.S | |||
@@ -79,7 +79,7 @@ ENTRY(system_call) | |||
79 | movel %sp@(PT_ORIG_D0),%d0 | 79 | movel %sp@(PT_ORIG_D0),%d0 |
80 | 80 | ||
81 | movel %sp,%d1 /* get thread_info pointer */ | 81 | movel %sp,%d1 /* get thread_info pointer */ |
82 | andl #0xffffe000,%d1 | 82 | andl #-THREAD_SIZE,%d1 |
83 | movel %d1,%a2 | 83 | movel %d1,%a2 |
84 | btst #TIF_SYSCALL_TRACE,%a2@(TI_FLAGS) | 84 | btst #TIF_SYSCALL_TRACE,%a2@(TI_FLAGS) |
85 | jne do_trace | 85 | jne do_trace |
@@ -105,7 +105,7 @@ Luser_return: | |||
105 | andw #ALLOWINT,%sr | 105 | andw #ALLOWINT,%sr |
106 | 106 | ||
107 | movel %sp,%d1 /* get thread_info pointer */ | 107 | movel %sp,%d1 /* get thread_info pointer */ |
108 | andl #0xffffe000,%d1 | 108 | andl #-THREAD_SIZE,%d1 |
109 | movel %d1,%a2 | 109 | movel %d1,%a2 |
110 | move %a2@(TI_FLAGS),%d1 /* thread_info->flags */ | 110 | move %a2@(TI_FLAGS),%d1 /* thread_info->flags */ |
111 | andl #_TIF_WORK_MASK,%d1 | 111 | andl #_TIF_WORK_MASK,%d1 |
diff --git a/arch/m68knommu/platform/68360/entry.S b/arch/m68knommu/platform/68360/entry.S index f7bc80a60e0f..8ff48adf24ab 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 |