Skip to content

Commit 4056cf4

Browse files
committed
tools headers: Update the uapi/asm-generic/mman-common.h copy with the kernel sources
To pick up the changes in: 6d61527 mm/pkey: Add PKEY_UNRESTRICTED macro Addressing this perf tools build warning: Warning: Kernel ABI header differences: diff -u tools/include/uapi/asm-generic/mman-common.h include/uapi/asm-generic/mman-common.h Please see tools/include/uapi/README for further details. Acked-by: Ingo Molnar <[email protected]> Tested-by: Venkat Rao Bagalkote <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
1 parent df4bd8c commit 4056cf4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
/* compatibility flags */
8686
#define MAP_FILE 0
8787

88+
#define PKEY_UNRESTRICTED 0x0
8889
#define PKEY_DISABLE_ACCESS 0x1
8990
#define PKEY_DISABLE_WRITE 0x2
9091
#define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\

0 commit comments

Comments
 (0)