hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/tools/arch/parisc/include/uapi/asm/mman.h
....@@ -1,20 +1,20 @@
11 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
22 #ifndef TOOLS_ARCH_PARISC_UAPI_ASM_MMAN_FIX_H
33 #define TOOLS_ARCH_PARISC_UAPI_ASM_MMAN_FIX_H
4
-#define MADV_DODUMP 70
4
+#define MADV_DODUMP 17
55 #define MADV_DOFORK 11
6
-#define MADV_DONTDUMP 69
6
+#define MADV_DONTDUMP 16
77 #define MADV_DONTFORK 10
88 #define MADV_DONTNEED 4
99 #define MADV_FREE 8
10
-#define MADV_HUGEPAGE 67
11
-#define MADV_MERGEABLE 65
12
-#define MADV_NOHUGEPAGE 68
10
+#define MADV_HUGEPAGE 14
11
+#define MADV_MERGEABLE 12
12
+#define MADV_NOHUGEPAGE 15
1313 #define MADV_NORMAL 0
1414 #define MADV_RANDOM 1
1515 #define MADV_REMOVE 9
1616 #define MADV_SEQUENTIAL 2
17
-#define MADV_UNMERGEABLE 66
17
+#define MADV_UNMERGEABLE 13
1818 #define MADV_WILLNEED 3
1919 #define MAP_ANONYMOUS 0x10
2020 #define MAP_DENYWRITE 0x0800
....@@ -27,8 +27,6 @@
2727 #define MAP_NONBLOCK 0x20000
2828 #define MAP_NORESERVE 0x4000
2929 #define MAP_POPULATE 0x10000
30
-#define MAP_PRIVATE 0x02
31
-#define MAP_SHARED 0x01
3230 #define MAP_STACK 0x40000
3331 #define PROT_EXEC 0x4
3432 #define PROT_GROWSDOWN 0x01000000
....@@ -41,6 +39,5 @@
4139 #define MADV_SOFT_OFFLINE 101
4240 /* MAP_32BIT is undefined on parisc, fix it for perf */
4341 #define MAP_32BIT 0
44
-/* MAP_UNINITIALIZED is undefined on parisc, fix it for perf */
4542 #define MAP_UNINITIALIZED 0
4643 #endif