aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv64/bits/syscall.h.in
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/riscv64/bits/syscall.h.in
parent49b6df3d9f3645de55607f1ac60095b22661b334 (diff)
downloadmusl-fd285f9dec226ca9e5377888ee24e3f8f5ada49f.zip
musl-fd285f9dec226ca9e5377888ee24e3f8f5ada49f.tar.gz
musl-fd285f9dec226ca9e5377888ee24e3f8f5ada49f.tar.bz2
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/riscv64/bits/syscall.h.in')
-rw-r--r--arch/riscv64/bits/syscall.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv64/bits/syscall.h.in b/arch/riscv64/bits/syscall.h.in
index 5def016..f9c421d 100644
--- a/arch/riscv64/bits/syscall.h.in
+++ b/arch/riscv64/bits/syscall.h.in
@@ -293,6 +293,7 @@
#define __NR_openat2 437
#define __NR_pidfd_getfd 438
#define __NR_faccessat2 439
+#define __NR_process_madvise 440
#define __NR_sysriscv __NR_arch_specific_syscall
#define __NR_riscv_flush_icache (__NR_sysriscv + 15)