xref: /openbmc/linux/arch/ia64/include/asm/ustack.h (revision b2441318)
1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
27f30491cSTony Luck #ifndef _ASM_IA64_USTACK_H
37f30491cSTony Luck #define _ASM_IA64_USTACK_H
47f30491cSTony Luck 
57f30491cSTony Luck #include <asm/page.h>
643e40f25SDavid Howells #include <uapi/asm/ustack.h>
77f30491cSTony Luck 
87f30491cSTony Luck /* The absolute hard limit for stack size is 1/2 of the mappable space in the region */
97f30491cSTony Luck #define MAX_USER_STACK_SIZE	(RGN_MAP_LIMIT/2)
107f30491cSTony Luck #define STACK_TOP		(0x6000000000000000UL + RGN_MAP_LIMIT)
117f30491cSTony Luck #define STACK_TOP_MAX		STACK_TOP
127f30491cSTony Luck #endif /* _ASM_IA64_USTACK_H */
13