diff options
Diffstat (limited to 'arch/x86/include/asm/processor.h')
-rw-r--r-- | arch/x86/include/asm/processor.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index dabab1a19ddd..c7a98f738210 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h | |||
@@ -403,7 +403,6 @@ DECLARE_PER_CPU(unsigned long, stack_canary); | |||
403 | #endif | 403 | #endif |
404 | #endif /* X86_64 */ | 404 | #endif /* X86_64 */ |
405 | 405 | ||
406 | extern void print_cpu_info(struct cpuinfo_x86 *); | ||
407 | extern unsigned int xstate_size; | 406 | extern unsigned int xstate_size; |
408 | extern void free_thread_xstate(struct task_struct *); | 407 | extern void free_thread_xstate(struct task_struct *); |
409 | extern struct kmem_cache *task_xstate_cachep; | 408 | extern struct kmem_cache *task_xstate_cachep; |
@@ -862,6 +861,7 @@ static inline void spin_lock_prefetch(const void *x) | |||
862 | * User space process size: 3GB (default). | 861 | * User space process size: 3GB (default). |
863 | */ | 862 | */ |
864 | #define TASK_SIZE PAGE_OFFSET | 863 | #define TASK_SIZE PAGE_OFFSET |
864 | #define TASK_SIZE_MAX TASK_SIZE | ||
865 | #define STACK_TOP TASK_SIZE | 865 | #define STACK_TOP TASK_SIZE |
866 | #define STACK_TOP_MAX STACK_TOP | 866 | #define STACK_TOP_MAX STACK_TOP |
867 | 867 | ||
@@ -921,7 +921,7 @@ extern unsigned long thread_saved_pc(struct task_struct *tsk); | |||
921 | /* | 921 | /* |
922 | * User space process size. 47bits minus one guard page. | 922 | * User space process size. 47bits minus one guard page. |
923 | */ | 923 | */ |
924 | #define TASK_SIZE64 ((1UL << 47) - PAGE_SIZE) | 924 | #define TASK_SIZE_MAX ((1UL << 47) - PAGE_SIZE) |
925 | 925 | ||
926 | /* 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 |
927 | * space during mmap's. | 927 | * space during mmap's. |
@@ -930,12 +930,12 @@ extern unsigned long thread_saved_pc(struct task_struct *tsk); | |||
930 | 0xc0000000 : 0xFFFFe000) | 930 | 0xc0000000 : 0xFFFFe000) |
931 | 931 | ||
932 | #define TASK_SIZE (test_thread_flag(TIF_IA32) ? \ | 932 | #define TASK_SIZE (test_thread_flag(TIF_IA32) ? \ |
933 | IA32_PAGE_OFFSET : TASK_SIZE64) | 933 | IA32_PAGE_OFFSET : TASK_SIZE_MAX) |
934 | #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)) ? \ |
935 | IA32_PAGE_OFFSET : TASK_SIZE64) | 935 | IA32_PAGE_OFFSET : TASK_SIZE_MAX) |
936 | 936 | ||
937 | #define STACK_TOP TASK_SIZE | 937 | #define STACK_TOP TASK_SIZE |
938 | #define STACK_TOP_MAX TASK_SIZE64 | 938 | #define STACK_TOP_MAX TASK_SIZE_MAX |
939 | 939 | ||
940 | #define INIT_THREAD { \ | 940 | #define INIT_THREAD { \ |
941 | .sp0 = (unsigned long)&init_stack + sizeof(init_stack) \ | 941 | .sp0 = (unsigned long)&init_stack + sizeof(init_stack) \ |