xref: /linux/arch/x86/include/uapi/asm/mman.h (revision 24168c5e6dfbdd5b414f048f47f75d64533296ca)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _ASM_X86_MMAN_H
3 #define _ASM_X86_MMAN_H
4 
5 #define MAP_32BIT	0x40		/* only give out 32bit addresses */
6 #define MAP_ABOVE4G	0x80		/* only map above 4GB */
7 
8 /* Flags for map_shadow_stack(2) */
9 #define SHADOW_STACK_SET_TOKEN	(1ULL << 0)	/* Set up a restore token in the shadow stack */
10 
11 #include <asm-generic/mman.h>
12 
13 #endif /* _ASM_X86_MMAN_H */
14