1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef TOOLS_ARCH_POWERPC_UAPI_ASM_MMAN_FIX_H
3 #define TOOLS_ARCH_POWERPC_UAPI_ASM_MMAN_FIX_H
4 #define MAP_DENYWRITE	0x0800
5 #define MAP_EXECUTABLE	0x1000
6 #define MAP_GROWSDOWN	0x0100
7 #define MAP_HUGETLB	0x40000
8 #define MAP_LOCKED	0x80
9 #define MAP_NONBLOCK	0x10000
10 #define MAP_NORESERVE   0x40
11 #define MAP_POPULATE	0x8000
12 #define MAP_STACK	0x20000
13 #include <uapi/asm-generic/mman-common.h>
14 /* MAP_32BIT is undefined on powerpc, fix it for perf */
15 #define MAP_32BIT	0
16 #endif
17