diff options
author | Tony Luck <tony.luck@intel.com> | 2012-05-01 17:41:35 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2012-05-16 16:55:32 -0400 |
commit | c7173271f3f63738e7ec5a2f074472c5feed3518 (patch) | |
tree | a5873ddbd898e5061ebb042064bf066d3add31b0 /arch/ia64 | |
parent | 36be50515fe2aef61533b516fa2576a2c7fe7664 (diff) |
[IA64] Removed "task_size" element from thread_struct - it is now constant
When the 32-bit compat code was deleted, we should also have removed
the task_size element from the thread structure - threads can only
be 64-bit now, so no need to keep track of how much virtual address
space each task can have ... everyone gets 0xa000000000000000.
Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/include/asm/processor.h | 5 |
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, }, \ |