hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/powerpc/include/uapi/asm/mman.h
....@@ -21,14 +21,10 @@
2121 #define MAP_DENYWRITE 0x0800 /* ETXTBSY */
2222 #define MAP_EXECUTABLE 0x1000 /* mark it as an executable */
2323
24
+
2425 #define MCL_CURRENT 0x2000 /* lock all currently mapped pages */
2526 #define MCL_FUTURE 0x4000 /* lock all additions to address space */
2627 #define MCL_ONFAULT 0x8000 /* lock all pages that are faulted in */
27
-
28
-#define MAP_POPULATE 0x8000 /* populate (prefault) pagetables */
29
-#define MAP_NONBLOCK 0x10000 /* do not block on IO */
30
-#define MAP_STACK 0x20000 /* give out an address that is best suited for process/thread stacks */
31
-#define MAP_HUGETLB 0x40000 /* create a huge page mapping */
3228
3329 /* Override any generic PKEY permission defines */
3430 #define PKEY_DISABLE_EXECUTE 0x4