diff options
Diffstat (limited to 'arch/x86/include/asm/processor.h')
-rw-r--r-- | arch/x86/include/asm/processor.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index 72914d0315e..c7a98f73821 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h | |||
@@ -861,6 +861,7 @@ static inline void spin_lock_prefetch(const void *x) | |||
861 | * User space process size: 3GB (default). | 861 | * User space process size: 3GB (default). |
862 | */ | 862 | */ |
863 | #define TASK_SIZE PAGE_OFFSET | 863 | #define TASK_SIZE PAGE_OFFSET |
864 | #define TASK_SIZE_MAX TASK_SIZE | ||
864 | #define STACK_TOP TASK_SIZE | 865 | #define STACK_TOP TASK_SIZE |
865 | #define STACK_TOP_MAX STACK_TOP | 866 | #define STACK_TOP_MAX STACK_TOP |
866 | 867 | ||
@@ -920,7 +921,7 @@ extern unsigned long thread_saved_pc(struct task_struct *tsk); | |||
920 | /* | 921 | /* |
921 | * User space process size. 47bits minus one guard page. | 922 | * User space process size. 47bits minus one guard page. |
922 | */ | 923 | */ |
923 | #define TASK_SIZE64 ((1UL << 47) - PAGE_SIZE) | 924 | #define TASK_SIZE_MAX ((1UL << 47) - PAGE_SIZE) |
924 | 925 | ||
925 | /* This decides where the kernel will search for a free chunk of vm | 926 | /* This decides where the kernel will search for a free chunk of vm |
926 | * space during mmap's. | 927 | * space during mmap's. |
@@ -929,12 +930,12 @@ extern unsigned long thread_saved_pc(struct task_struct *tsk); | |||
929 | 0xc0000000 : 0xFFFFe000) | 930 | 0xc0000000 : 0xFFFFe000) |
930 | 931 | ||
931 | #define TASK_SIZE (test_thread_flag(TIF_IA32) ? \ | 932 | #define TASK_SIZE (test_thread_flag(TIF_IA32) ? \ |
932 | IA32_PAGE_OFFSET : TASK_SIZE64) | 933 | IA32_PAGE_OFFSET : TASK_SIZE_MAX) |
933 | #define TASK_SIZE_OF(child) ((test_tsk_thread_flag(child, TIF_IA32)) ? \ | 934 | #define TASK_SIZE_OF(child) ((test_tsk_thread_flag(child, TIF_IA32)) ? \ |
934 | IA32_PAGE_OFFSET : TASK_SIZE64) | 935 | IA32_PAGE_OFFSET : TASK_SIZE_MAX) |
935 | 936 | ||
936 | #define STACK_TOP TASK_SIZE | 937 | #define STACK_TOP TASK_SIZE |
937 | #define STACK_TOP_MAX TASK_SIZE64 | 938 | #define STACK_TOP_MAX TASK_SIZE_MAX |
938 | 939 | ||
939 | #define INIT_THREAD { \ | 940 | #define INIT_THREAD { \ |
940 | .sp0 = (unsigned long)&init_stack + sizeof(init_stack) \ | 941 | .sp0 = (unsigned long)&init_stack + sizeof(init_stack) \ |