18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28c2ecf20Sopenharmony_ci#ifndef TOOLS_ARCH_POWERPC_UAPI_ASM_MMAN_FIX_H
38c2ecf20Sopenharmony_ci#define TOOLS_ARCH_POWERPC_UAPI_ASM_MMAN_FIX_H
48c2ecf20Sopenharmony_ci#define MAP_DENYWRITE	0x0800
58c2ecf20Sopenharmony_ci#define MAP_EXECUTABLE	0x1000
68c2ecf20Sopenharmony_ci#define MAP_GROWSDOWN	0x0100
78c2ecf20Sopenharmony_ci#define MAP_LOCKED	0x80
88c2ecf20Sopenharmony_ci#define MAP_NORESERVE   0x40
98c2ecf20Sopenharmony_ci#include <uapi/asm-generic/mman-common.h>
108c2ecf20Sopenharmony_ci/* MAP_32BIT is undefined on powerpc, fix it for perf */
118c2ecf20Sopenharmony_ci#define MAP_32BIT	0
128c2ecf20Sopenharmony_ci#endif
13