xref: /linux/arch/powerpc/include/asm/task_size_32.h (revision 69bfec7548f4c1595bac0e3ddfc0458a5af31f4c)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_POWERPC_TASK_SIZE_32_H
3 #define _ASM_POWERPC_TASK_SIZE_32_H
4 
5 #if CONFIG_TASK_SIZE > CONFIG_KERNEL_START
6 #error User TASK_SIZE overlaps with KERNEL_START address
7 #endif
8 
9 #define TASK_SIZE (CONFIG_TASK_SIZE)
10 
11 /*
12  * This decides where the kernel will search for a free chunk of vm space during
13  * mmap's.
14  */
15 #define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3)
16 
17 #define DEFAULT_MAP_WINDOW TASK_SIZE
18 #define STACK_TOP TASK_SIZE
19 #define STACK_TOP_MAX STACK_TOP
20 
21 #endif /* _ASM_POWERPC_TASK_SIZE_32_H */
22