]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
tools headers: Update the uapi/asm-generic/mman-common.h copy with the kernel sources
authorNamhyung Kim <namhyung@kernel.org>
Thu, 10 Apr 2025 00:11:22 +0000 (17:11 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Thu, 10 Apr 2025 16:28:24 +0000 (09:28 -0700)
To pick up the changes in:

   6d61527d931ba07b 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 <mingo@kernel.org>
Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Cc: linux-arch@vger.kernel.org
Link: https://lore.kernel.org/r/20250410001125.391820-8-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/include/uapi/asm-generic/mman-common.h

index 1ea2c4c33b86a2638b03335ad5bfcfd1691cef3e..ef1c27fa3c570fa4ff06fc6f742914925f8b02c8 100644 (file)
@@ -85,6 +85,7 @@
 /* compatibility flags */
 #define MAP_FILE       0
 
+#define PKEY_UNRESTRICTED      0x0
 #define PKEY_DISABLE_ACCESS    0x1
 #define PKEY_DISABLE_WRITE     0x2
 #define PKEY_ACCESS_MASK       (PKEY_DISABLE_ACCESS |\