treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / powerpc / include / asm / task_size_32.h
blobde7290ee770fb47a7414124df19f230f9e4c5ede
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_POWERPC_TASK_SIZE_32_H
3 #define _ASM_POWERPC_TASK_SIZE_32_H
5 #if CONFIG_TASK_SIZE > CONFIG_KERNEL_START
6 #error User TASK_SIZE overlaps with KERNEL_START address
7 #endif
9 #define TASK_SIZE (CONFIG_TASK_SIZE)
12 * This decides where the kernel will search for a free chunk of vm space during
13 * mmap's.
15 #define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3)
17 #define DEFAULT_MAP_WINDOW TASK_SIZE
18 #define STACK_TOP TASK_SIZE
19 #define STACK_TOP_MAX STACK_TOP
21 #endif /* _ASM_POWERPC_TASK_SIZE_32_H */