xref: /OK3568_Linux_fs/kernel/arch/ia64/include/asm/ustack.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun #ifndef _ASM_IA64_USTACK_H
3*4882a593Smuzhiyun #define _ASM_IA64_USTACK_H
4*4882a593Smuzhiyun 
5*4882a593Smuzhiyun #include <asm/page.h>
6*4882a593Smuzhiyun #include <uapi/asm/ustack.h>
7*4882a593Smuzhiyun 
8*4882a593Smuzhiyun /* The absolute hard limit for stack size is 1/2 of the mappable space in the region */
9*4882a593Smuzhiyun #define MAX_USER_STACK_SIZE	(RGN_MAP_LIMIT/2)
10*4882a593Smuzhiyun #define STACK_TOP		(0x6000000000000000UL + RGN_MAP_LIMIT)
11*4882a593Smuzhiyun #define STACK_TOP_MAX		STACK_TOP
12*4882a593Smuzhiyun #endif /* _ASM_IA64_USTACK_H */
13