blob: de7290ee770fb47a7414124df19f230f9e4c5ede [file] [log] [blame]
Christophe Leroy92ab45c2019-01-31 10:08:48 +00001/* 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 */