162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef _ASM_IA64_USTACK_H
362306a36Sopenharmony_ci#define _ASM_IA64_USTACK_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci#include <asm/page.h>
662306a36Sopenharmony_ci#include <uapi/asm/ustack.h>
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci/* The absolute hard limit for stack size is 1/2 of the mappable space in the region */
962306a36Sopenharmony_ci#define MAX_USER_STACK_SIZE	(RGN_MAP_LIMIT/2)
1062306a36Sopenharmony_ci#define STACK_TOP		(0x6000000000000000UL + RGN_MAP_LIMIT)
1162306a36Sopenharmony_ci#define STACK_TOP_MAX		STACK_TOP
1262306a36Sopenharmony_ci#endif /* _ASM_IA64_USTACK_H */
13