aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/include/asm/processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/cris/include/asm/processor.h')
-rw-r--r--arch/cris/include/asm/processor.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/cris/include/asm/processor.h b/arch/cris/include/asm/processor.h
index 4210d72a6667..8dc56ef08712 100644
--- a/arch/cris/include/asm/processor.h
+++ b/arch/cris/include/asm/processor.h
@@ -25,13 +25,12 @@ struct task_struct;
25 */ 25 */
26#define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 3)) 26#define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 3))
27 27
28/* THREAD_SIZE is the size of the task_struct/kernel_stack combo. 28/* THREAD_SIZE is the size of the thread_info/kernel_stack combo.
29 * normally, the stack is found by doing something like p + THREAD_SIZE 29 * normally, the stack is found by doing something like p + THREAD_SIZE
30 * in CRIS, a page is 8192 bytes, which seems like a sane size 30 * in CRIS, a page is 8192 bytes, which seems like a sane size
31 */ 31 */
32
33#define THREAD_SIZE PAGE_SIZE 32#define THREAD_SIZE PAGE_SIZE
34#define KERNEL_STACK_SIZE PAGE_SIZE 33#define THREAD_SIZE_ORDER (0)
35 34
36/* 35/*
37 * At user->kernel entry, the pt_regs struct is stacked on the top of the kernel-stack. 36 * At user->kernel entry, the pt_regs struct is stacked on the top of the kernel-stack.