summaryrefslogtreecommitdiff
path: root/arch
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
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')
-rw-r--r--arch/aarch64/bits/syscall.h.in1
-rw-r--r--arch/arm/bits/syscall.h.in1
-rw-r--r--arch/i386/bits/syscall.h.in1
-rw-r--r--arch/m68k/bits/syscall.h.in1
-rw-r--r--arch/microblaze/bits/syscall.h.in1
-rw-r--r--arch/mips/bits/syscall.h.in1
-rw-r--r--arch/mips64/bits/syscall.h.in1
-rw-r--r--arch/mipsn32/bits/syscall.h.in1
-rw-r--r--arch/or1k/bits/syscall.h.in1
-rw-r--r--arch/powerpc/bits/syscall.h.in1
-rw-r--r--arch/powerpc64/bits/syscall.h.in1
-rw-r--r--arch/riscv64/bits/syscall.h.in1
-rw-r--r--arch/s390x/bits/syscall.h.in1
-rw-r--r--arch/sh/bits/syscall.h.in1
-rw-r--r--arch/x32/bits/syscall.h.in1
-rw-r--r--arch/x86_64/bits/syscall.h.in1
16 files changed, 16 insertions, 0 deletions
diff --git a/arch/aarch64/bits/syscall.h.in b/arch/aarch64/bits/syscall.h.in
index f9457c18..1ad467c0 100644
--- a/arch/aarch64/bits/syscall.h.in
+++ b/arch/aarch64/bits/syscall.h.in
@@ -293,4 +293,5 @@
#define __NR_openat2 437
#define __NR_pidfd_getfd 438
#define __NR_faccessat2 439
+#define __NR_process_madvise 440
diff --git a/arch/arm/bits/syscall.h.in b/arch/arm/bits/syscall.h.in
index 7e2fc266..cf9e3411 100644
--- a/arch/arm/bits/syscall.h.in
+++ b/arch/arm/bits/syscall.h.in
@@ -393,6 +393,7 @@
#define __NR_openat2 437
#define __NR_pidfd_getfd 438
#define __NR_faccessat2 439
+#define __NR_process_madvise 440
#define __ARM_NR_breakpoint 0x0f0001
#define __ARM_NR_cacheflush 0x0f0002
diff --git a/arch/i386/bits/syscall.h.in b/arch/i386/bits/syscall.h.in
index abdb210d..5d1c4d7a 100644
--- a/arch/i386/bits/syscall.h.in
+++ b/arch/i386/bits/syscall.h.in
@@ -430,4 +430,5 @@
#define __NR_openat2 437
#define __NR_pidfd_getfd 438
#define __NR_faccessat2 439
+#define __NR_process_madvise 440
diff --git a/arch/m68k/bits/syscall.h.in b/arch/m68k/bits/syscall.h.in
index e10969a2..6794b1a0 100644
--- a/arch/m68k/bits/syscall.h.in
+++ b/arch/m68k/bits/syscall.h.in
@@ -410,3 +410,4 @@
#define __NR_openat2 437
#define __NR_pidfd_getfd 438
#define __NR_faccessat2 439
+#define __NR_process_madvise 440
diff --git a/arch/microblaze/bits/syscall.h.in b/arch/microblaze/bits/syscall.h.in
index 9d469047..7f71df3b 100644
--- a/arch/microblaze/bits/syscall.h.in
+++ b/arch/microblaze/bits/syscall.h.in
@@ -431,4 +431,5 @@
#define __NR_openat2 437
#define __NR_pidfd_getfd 438
#define __NR_faccessat2 439
+#define __NR_process_madvise 440
diff --git a/arch/mips/bits/syscall.h.in b/arch/mips/bits/syscall.h.in
index 2bb03f06..d54845b2 100644
--- a/arch/mips/bits/syscall.h.in
+++ b/arch/mips/bits/syscall.h.in
@@ -412,4 +412,5 @@
#define __NR_openat2 4437
#define __NR_pidfd_getfd 4438
#define __NR_faccessat2 4439
+#define __NR_process_madvise 4440
diff --git a/arch/mips64/bits/syscall.h.in b/arch/mips64/bits/syscall.h.in
index 045e8238..920b4358 100644
--- a/arch/mips64/bits/syscall.h.in
+++ b/arch/mips64/bits/syscall.h.in
@@ -342,4 +342,5 @@
#define __NR_openat2 5437
#define __NR_pidfd_getfd 5438
#define __NR_faccessat2 5439
+#define __NR_process_madvise 5440
diff --git a/arch/mipsn32/bits/syscall.h.in b/arch/mipsn32/bits/syscall.h.in
index 5b322558..e6dad688 100644
--- a/arch/mipsn32/bits/syscall.h.in
+++ b/arch/mipsn32/bits/syscall.h.in
@@ -366,4 +366,5 @@
#define __NR_openat2 6437
#define __NR_pidfd_getfd 6438
#define __NR_faccessat2 6439
+#define __NR_process_madvise 6440
diff --git a/arch/or1k/bits/syscall.h.in b/arch/or1k/bits/syscall.h.in
index b3603891..463ee901 100644
--- a/arch/or1k/bits/syscall.h.in
+++ b/arch/or1k/bits/syscall.h.in
@@ -315,4 +315,5 @@
#define __NR_openat2 437
#define __NR_pidfd_getfd 438
#define __NR_faccessat2 439
+#define __NR_process_madvise 440
diff --git a/arch/powerpc/bits/syscall.h.in b/arch/powerpc/bits/syscall.h.in
index 5c6fae3e..db4d0ca4 100644
--- a/arch/powerpc/bits/syscall.h.in
+++ b/arch/powerpc/bits/syscall.h.in
@@ -419,4 +419,5 @@
#define __NR_openat2 437
#define __NR_pidfd_getfd 438
#define __NR_faccessat2 439
+#define __NR_process_madvise 440
diff --git a/arch/powerpc64/bits/syscall.h.in b/arch/powerpc64/bits/syscall.h.in
index edf73d3d..a128890b 100644
--- a/arch/powerpc64/bits/syscall.h.in
+++ b/arch/powerpc64/bits/syscall.h.in
@@ -391,4 +391,5 @@
#define __NR_openat2 437
#define __NR_pidfd_getfd 438
#define __NR_faccessat2 439
+#define __NR_process_madvise 440
diff --git a/arch/riscv64/bits/syscall.h.in b/arch/riscv64/bits/syscall.h.in
index 5def016b..f9c421d0 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)
diff --git a/arch/s390x/bits/syscall.h.in b/arch/s390x/bits/syscall.h.in
index fb2e60e3..9c8d984e 100644
--- a/arch/s390x/bits/syscall.h.in
+++ b/arch/s390x/bits/syscall.h.in
@@ -356,4 +356,5 @@
#define __NR_openat2 437
#define __NR_pidfd_getfd 438
#define __NR_faccessat2 439
+#define __NR_process_madvise 440
diff --git a/arch/sh/bits/syscall.h.in b/arch/sh/bits/syscall.h.in
index 158afc09..17dd7e07 100644
--- a/arch/sh/bits/syscall.h.in
+++ b/arch/sh/bits/syscall.h.in
@@ -403,4 +403,5 @@
#define __NR_openat2 437
#define __NR_pidfd_getfd 438
#define __NR_faccessat2 439
+#define __NR_process_madvise 440
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)
diff --git a/arch/x86_64/bits/syscall.h.in b/arch/x86_64/bits/syscall.h.in
index a6117951..e943883d 100644
--- a/arch/x86_64/bits/syscall.h.in
+++ b/arch/x86_64/bits/syscall.h.in
@@ -349,4 +349,5 @@
#define __NR_openat2 437
#define __NR_pidfd_getfd 438
#define __NR_faccessat2 439
+#define __NR_process_madvise 440