Skip to content

Commit 47f8d94

Browse files
committed
tools headers UAPI: Sync asm-generic/mman-common.h with the kernel
To pick the changes from: d41938d ("mm: Reserve asm-generic prot flags 0x10 and 0x20 for arch use") No changes in tooling, just a rebuild as files needed got touched. This addresses the following perf build warning: Warning: Kernel ABI header at 'tools/include/uapi/asm-generic/mman-common.h' differs from latest version at 'include/uapi/asm-generic/mman-common.h' diff -u tools/include/uapi/asm-generic/mman-common.h include/uapi/asm-generic/mman-common.h Cc: Adrian Hunter <[email protected]> Cc: Dave Martin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Will Deacon <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent df5a5f3 commit 47f8d94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/include/uapi/asm-generic/mman-common.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
#define PROT_WRITE 0x2 /* page can be written */
1212
#define PROT_EXEC 0x4 /* page can be executed */
1313
#define PROT_SEM 0x8 /* page may be used for atomic ops */
14+
/* 0x10 reserved for arch-specific use */
15+
/* 0x20 reserved for arch-specific use */
1416
#define PROT_NONE 0x0 /* page can not be accessed */
1517
#define PROT_GROWSDOWN 0x01000000 /* mprotect flag: extend change to start of growsdown vma */
1618
#define PROT_GROWSUP 0x02000000 /* mprotect flag: extend change to end of growsup vma */

0 commit comments

Comments
 (0)