diff options
Diffstat (limited to 'include/asm-s390/processor.h')
-rw-r--r-- | include/asm-s390/processor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-s390/processor.h b/include/asm-s390/processor.h index c86b982aef5a..4f744609cd11 100644 --- a/include/asm-s390/processor.h +++ b/include/asm-s390/processor.h | |||
@@ -70,8 +70,9 @@ extern int get_cpu_capability(unsigned int *); | |||
70 | 70 | ||
71 | #else /* __s390x__ */ | 71 | #else /* __s390x__ */ |
72 | 72 | ||
73 | # define TASK_SIZE (test_thread_flag(TIF_31BIT) ? \ | 73 | # define TASK_SIZE_OF(tsk) (test_tsk_thread_flag(tsk, TIF_31BIT) ? \ |
74 | (0x80000000UL) : (0x40000000000UL)) | 74 | (0x80000000UL) : (0x40000000000UL)) |
75 | # define TASK_SIZE TASK_SIZE_OF(current) | ||
75 | # define TASK_UNMAPPED_BASE (TASK_SIZE / 2) | 76 | # define TASK_UNMAPPED_BASE (TASK_SIZE / 2) |
76 | # define DEFAULT_TASK_SIZE (0x40000000000UL) | 77 | # define DEFAULT_TASK_SIZE (0x40000000000UL) |
77 | 78 | ||