18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 28c2ecf20Sopenharmony_ci#ifndef TOOLS_ARCH_ALPHA_UAPI_ASM_MMAN_FIX_H 38c2ecf20Sopenharmony_ci#define TOOLS_ARCH_ALPHA_UAPI_ASM_MMAN_FIX_H 48c2ecf20Sopenharmony_ci#define MADV_DODUMP 17 58c2ecf20Sopenharmony_ci#define MADV_DOFORK 11 68c2ecf20Sopenharmony_ci#define MADV_DONTDUMP 16 78c2ecf20Sopenharmony_ci#define MADV_DONTFORK 10 88c2ecf20Sopenharmony_ci#define MADV_DONTNEED 6 98c2ecf20Sopenharmony_ci#define MADV_FREE 8 108c2ecf20Sopenharmony_ci#define MADV_HUGEPAGE 14 118c2ecf20Sopenharmony_ci#define MADV_MERGEABLE 12 128c2ecf20Sopenharmony_ci#define MADV_NOHUGEPAGE 15 138c2ecf20Sopenharmony_ci#define MADV_NORMAL 0 148c2ecf20Sopenharmony_ci#define MADV_RANDOM 1 158c2ecf20Sopenharmony_ci#define MADV_REMOVE 9 168c2ecf20Sopenharmony_ci#define MADV_SEQUENTIAL 2 178c2ecf20Sopenharmony_ci#define MADV_UNMERGEABLE 13 188c2ecf20Sopenharmony_ci#define MADV_WILLNEED 3 198c2ecf20Sopenharmony_ci#define MAP_ANONYMOUS 0x10 208c2ecf20Sopenharmony_ci#define MAP_DENYWRITE 0x02000 218c2ecf20Sopenharmony_ci#define MAP_EXECUTABLE 0x04000 228c2ecf20Sopenharmony_ci#define MAP_FILE 0 238c2ecf20Sopenharmony_ci#define MAP_FIXED 0x100 248c2ecf20Sopenharmony_ci#define MAP_GROWSDOWN 0x01000 258c2ecf20Sopenharmony_ci#define MAP_HUGETLB 0x100000 268c2ecf20Sopenharmony_ci#define MAP_LOCKED 0x08000 278c2ecf20Sopenharmony_ci#define MAP_NONBLOCK 0x40000 288c2ecf20Sopenharmony_ci#define MAP_NORESERVE 0x10000 298c2ecf20Sopenharmony_ci#define MAP_POPULATE 0x20000 308c2ecf20Sopenharmony_ci#define MAP_STACK 0x80000 318c2ecf20Sopenharmony_ci#define PROT_EXEC 0x4 328c2ecf20Sopenharmony_ci#define PROT_GROWSDOWN 0x01000000 338c2ecf20Sopenharmony_ci#define PROT_GROWSUP 0x02000000 348c2ecf20Sopenharmony_ci#define PROT_NONE 0x0 358c2ecf20Sopenharmony_ci#define PROT_READ 0x1 368c2ecf20Sopenharmony_ci#define PROT_SEM 0x8 378c2ecf20Sopenharmony_ci#define PROT_WRITE 0x2 388c2ecf20Sopenharmony_ci/* MADV_HWPOISON is undefined on alpha, fix it for perf */ 398c2ecf20Sopenharmony_ci#define MADV_HWPOISON 100 408c2ecf20Sopenharmony_ci/* MADV_SOFT_OFFLINE is undefined on alpha, fix it for perf */ 418c2ecf20Sopenharmony_ci#define MADV_SOFT_OFFLINE 101 428c2ecf20Sopenharmony_ci/* MAP_32BIT is undefined on alpha, fix it for perf */ 438c2ecf20Sopenharmony_ci#define MAP_32BIT 0 448c2ecf20Sopenharmony_ci/* MAP_UNINITIALIZED is undefined on alpha, fix it for perf */ 458c2ecf20Sopenharmony_ci#define MAP_UNINITIALIZED 0 468c2ecf20Sopenharmony_ci#endif 47