|
@@ -61,7 +61,7 @@ extern void print_cpu_info(struct cpuinfo_S390 *);
|
|
|
extern int get_cpu_capability(unsigned int *);
|
|
|
|
|
|
/*
|
|
|
- * User space process size: 2GB for 31 bit, 4TB for 64 bit.
|
|
|
+ * User space process size: 2GB for 31 bit, 4TB or 8PT for 64 bit.
|
|
|
*/
|
|
|
#ifndef __s390x__
|
|
|
|
|
@@ -70,8 +70,7 @@ extern int get_cpu_capability(unsigned int *);
|
|
|
|
|
|
#else /* __s390x__ */
|
|
|
|
|
|
-#define TASK_SIZE_OF(tsk) (test_tsk_thread_flag(tsk,TIF_31BIT) ? \
|
|
|
- (1UL << 31) : (1UL << 53))
|
|
|
+#define TASK_SIZE_OF(tsk) ((tsk)->mm->context.asce_limit)
|
|
|
#define TASK_UNMAPPED_BASE (test_thread_flag(TIF_31BIT) ? \
|
|
|
(1UL << 30) : (1UL << 41))
|
|
|
#define TASK_SIZE TASK_SIZE_OF(current)
|