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