xref: /linux/arch/x86/include/uapi/asm/mman.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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