diff options
Diffstat (limited to 'arch/ia64/include')
-rw-r--r-- | arch/ia64/include/asm/Kbuild | 1 | ||||
-rw-r--r-- | arch/ia64/include/asm/processor.h | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/arch/ia64/include/asm/Kbuild b/arch/ia64/include/asm/Kbuild index 241d1c53ba69..d4eb9383f5f6 100644 --- a/arch/ia64/include/asm/Kbuild +++ b/arch/ia64/include/asm/Kbuild | |||
@@ -1,6 +1,7 @@ | |||
1 | include include/asm-generic/Kbuild.asm | 1 | include include/asm-generic/Kbuild.asm |
2 | 2 | ||
3 | header-y += break.h | 3 | header-y += break.h |
4 | header-y += cmpxchg.h | ||
4 | header-y += fpu.h | 5 | header-y += fpu.h |
5 | header-y += gcc_intrin.h | 6 | header-y += gcc_intrin.h |
6 | header-y += ia64regs.h | 7 | header-y += ia64regs.h |
diff --git a/arch/ia64/include/asm/processor.h b/arch/ia64/include/asm/processor.h index 5a994ec8f06d..832dd3789e9d 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, }, \ |