aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/include/asm/processor.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/ia64/include/asm/processor.h b/arch/ia64/include/asm/processor.h
index 483f6c6a4238..a1e70223db4a 100644
--- a/arch/ia64/include/asm/processor.h
+++ b/arch/ia64/include/asm/processor.h
@@ -34,8 +34,7 @@
34 * each (assuming 8KB page size), for a total of 8TB of user virtual 34 * each (assuming 8KB page size), for a total of 8TB of user virtual
35 * address space. 35 * address space.
36 */ 36 */
37#define TASK_SIZE_OF(tsk) ((tsk)->thread.task_size) 37#define TASK_SIZE DEFAULT_TASK_SIZE
38#define TASK_SIZE TASK_SIZE_OF(current)
39 38
40/* 39/*
41 * This decides where the kernel will search for a free chunk of vm 40 * This decides where the kernel will search for a free chunk of vm
@@ -280,7 +279,6 @@ struct thread_struct {
280 __u8 pad[3]; 279 __u8 pad[3];
281 __u64 ksp; /* kernel stack pointer */ 280 __u64 ksp; /* kernel stack pointer */
282 __u64 map_base; /* base address for get_unmapped_area() */ 281 __u64 map_base; /* base address for get_unmapped_area() */
283 __u64 task_size; /* limit for task size */
284 __u64 rbs_bot; /* the base address for the RBS */ 282 __u64 rbs_bot; /* the base address for the RBS */
285 int last_fph_cpu; /* CPU that may hold the contents of f32-f127 */ 283 int last_fph_cpu; /* CPU that may hold the contents of f32-f127 */
286 284
@@ -303,7 +301,6 @@ struct thread_struct {
303 .ksp = 0, \ 301 .ksp = 0, \
304 .map_base = DEFAULT_MAP_BASE, \ 302 .map_base = DEFAULT_MAP_BASE, \
305 .rbs_bot = STACK_TOP - DEFAULT_USER_STACK_SIZE, \ 303 .rbs_bot = STACK_TOP - DEFAULT_USER_STACK_SIZE, \
306 .task_size = DEFAULT_TASK_SIZE, \
307 .last_fph_cpu = -1, \ 304 .last_fph_cpu = -1, \
308 INIT_THREAD_PM \ 305 INIT_THREAD_PM \
309 .dbr = {0, }, \ 306 .dbr = {0, }, \