162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 262306a36Sopenharmony_ci#ifndef TOOLS_ARCH_ALPHA_UAPI_ASM_MMAN_FIX_H 362306a36Sopenharmony_ci#define TOOLS_ARCH_ALPHA_UAPI_ASM_MMAN_FIX_H 462306a36Sopenharmony_ci#define MADV_DODUMP 17 562306a36Sopenharmony_ci#define MADV_DOFORK 11 662306a36Sopenharmony_ci#define MADV_DONTDUMP 16 762306a36Sopenharmony_ci#define MADV_DONTFORK 10 862306a36Sopenharmony_ci#define MADV_DONTNEED 6 962306a36Sopenharmony_ci#define MADV_FREE 8 1062306a36Sopenharmony_ci#define MADV_HUGEPAGE 14 1162306a36Sopenharmony_ci#define MADV_MERGEABLE 12 1262306a36Sopenharmony_ci#define MADV_NOHUGEPAGE 15 1362306a36Sopenharmony_ci#define MADV_NORMAL 0 1462306a36Sopenharmony_ci#define MADV_RANDOM 1 1562306a36Sopenharmony_ci#define MADV_REMOVE 9 1662306a36Sopenharmony_ci#define MADV_SEQUENTIAL 2 1762306a36Sopenharmony_ci#define MADV_UNMERGEABLE 13 1862306a36Sopenharmony_ci#define MADV_WILLNEED 3 1962306a36Sopenharmony_ci#define MAP_ANONYMOUS 0x10 2062306a36Sopenharmony_ci#define MAP_DENYWRITE 0x02000 2162306a36Sopenharmony_ci#define MAP_EXECUTABLE 0x04000 2262306a36Sopenharmony_ci#define MAP_FILE 0 2362306a36Sopenharmony_ci#define MAP_FIXED 0x100 2462306a36Sopenharmony_ci#define MAP_GROWSDOWN 0x01000 2562306a36Sopenharmony_ci#define MAP_HUGETLB 0x100000 2662306a36Sopenharmony_ci#define MAP_LOCKED 0x08000 2762306a36Sopenharmony_ci#define MAP_NONBLOCK 0x40000 2862306a36Sopenharmony_ci#define MAP_NORESERVE 0x10000 2962306a36Sopenharmony_ci#define MAP_POPULATE 0x20000 3062306a36Sopenharmony_ci#define MAP_STACK 0x80000 3162306a36Sopenharmony_ci#define PROT_EXEC 0x4 3262306a36Sopenharmony_ci#define PROT_GROWSDOWN 0x01000000 3362306a36Sopenharmony_ci#define PROT_GROWSUP 0x02000000 3462306a36Sopenharmony_ci#define PROT_NONE 0x0 3562306a36Sopenharmony_ci#define PROT_READ 0x1 3662306a36Sopenharmony_ci#define PROT_SEM 0x8 3762306a36Sopenharmony_ci#define PROT_WRITE 0x2 3862306a36Sopenharmony_ci/* MADV_HWPOISON is undefined on alpha, fix it for perf */ 3962306a36Sopenharmony_ci#define MADV_HWPOISON 100 4062306a36Sopenharmony_ci/* MADV_SOFT_OFFLINE is undefined on alpha, fix it for perf */ 4162306a36Sopenharmony_ci#define MADV_SOFT_OFFLINE 101 4262306a36Sopenharmony_ci/* MAP_32BIT is undefined on alpha, fix it for perf */ 4362306a36Sopenharmony_ci#define MAP_32BIT 0 4462306a36Sopenharmony_ci/* MAP_UNINITIALIZED is undefined on alpha, fix it for perf */ 4562306a36Sopenharmony_ci#define MAP_UNINITIALIZED 0 4662306a36Sopenharmony_ci#endif 47