aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-05-23 15:05:44 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-05-23 15:05:44 -0400
commit3813d4024a75562baf77d3907fb6afbf8f9c8232 (patch)
tree6675ef449bd0ed7adbe1b785eaed25db55bc29f3 /arch/ia64/include
parent2335a8366f63a5191b5a2b3c5a05d90fe814654c (diff)
parent4035c6db5a9dedf5e79c502bf39389a0b714cb38 (diff)
Merge tag 'ia64-3.5-merge' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux
Pull Itanium fixes from Tony Luck. * tag 'ia64-3.5-merge' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux: [IA64] Liberate the signal layer from IA64 assembler [IA64] Add cmpxchg.h to exported userspace headers [IA64] Fix fast syscall version of getcpu() [IA64] Removed "task_size" element from thread_struct - it is now constant
Diffstat (limited to 'arch/ia64/include')
-rw-r--r--arch/ia64/include/asm/Kbuild1
-rw-r--r--arch/ia64/include/asm/processor.h5
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 @@
1include include/asm-generic/Kbuild.asm 1include include/asm-generic/Kbuild.asm
2 2
3header-y += break.h 3header-y += break.h
4header-y += cmpxchg.h
4header-y += fpu.h 5header-y += fpu.h
5header-y += gcc_intrin.h 6header-y += gcc_intrin.h
6header-y += ia64regs.h 7header-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, }, \