^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef _ASM_IA64_USTACK_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define _ASM_IA64_USTACK_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #include <asm/page.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) #include <uapi/asm/ustack.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) /* The absolute hard limit for stack size is 1/2 of the mappable space in the region */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #define MAX_USER_STACK_SIZE (RGN_MAP_LIMIT/2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #define STACK_TOP (0x6000000000000000UL + RGN_MAP_LIMIT)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #define STACK_TOP_MAX STACK_TOP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #endif /* _ASM_IA64_USTACK_H */