summaryrefslogtreecommitdiff
path: root/arch/x32/bits
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2020-12-19 20:12:31 +0000
committerRich Felker <dalias@aerifal.cx>2021-02-15 09:15:54 -0500
commitfd285f9dec226ca9e5377888ee24e3f8f5ada49f (patch)
tree5dd372be8f5e351212d0be5802f03642b08358b3 /arch/x32/bits
parent49b6df3d9f3645de55607f1ac60095b22661b334 (diff)
downloadmusl-fd285f9dec226ca9e5377888ee24e3f8f5ada49f.tar.gz
bits/syscall.h: add process_madvise from linux v5.10
mainly added to linux to allow a central process management service in android to give MADV_COLD|PAGEOUT hints for other processes, see linux commit ecb8ac8b1f146915aa6b96449b66dd48984caacc mm/madvise: introduce process_madvise() syscall: an external memory hinting API
Diffstat (limited to 'arch/x32/bits')
-rw-r--r--arch/x32/bits/syscall.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x32/bits/syscall.h.in b/arch/x32/bits/syscall.h.in
index cfd9856f..5361442e 100644
--- a/arch/x32/bits/syscall.h.in
+++ b/arch/x32/bits/syscall.h.in
@@ -302,6 +302,7 @@
#define __NR_openat2 (0x40000000 + 437)
#define __NR_pidfd_getfd (0x40000000 + 438)
#define __NR_faccessat2 (0x40000000 + 439)
+#define __NR_process_madvise (0x40000000 + 440)
#define __NR_rt_sigaction (0x40000000 + 512)