Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ASM_IA64_USTACK_H |
| 2 | #define _ASM_IA64_USTACK_H |
| 3 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | #include <asm/page.h> |
David Howells | 43e40f2 | 2012-10-09 09:47:00 +0100 | [diff] [blame] | 5 | #include <uapi/asm/ustack.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | |
| 7 | /* The absolute hard limit for stack size is 1/2 of the mappable space in the region */ |
| 8 | #define MAX_USER_STACK_SIZE (RGN_MAP_LIMIT/2) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | #define STACK_TOP (0x6000000000000000UL + RGN_MAP_LIMIT) |
Peter Zijlstra | b111757 | 2007-07-19 01:48:14 -0700 | [diff] [blame] | 10 | #define STACK_TOP_MAX STACK_TOP |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | #endif /* _ASM_IA64_USTACK_H */ |