summaryrefslogtreecommitdiff
path: root/arch/x32
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2016-05-26 22:04:56 +0200
committerRich Felker <dalias@aerifal.cx>2016-06-09 13:38:41 -0400
commit78b1f3cb1406b475ad8800a64197f2e0bf04d5ef (patch)
treed8d8e5d9ed5fefa6b486200e9992fee52f85f730 /arch/x32
parent77baaa47e107f176fb2dc150dd6a9ad87f6cbe24 (diff)
downloadmusl-78b1f3cb1406b475ad8800a64197f2e0bf04d5ef.tar.gz
musl-78b1f3cb1406b475ad8800a64197f2e0bf04d5ef.tar.bz2
musl-78b1f3cb1406b475ad8800a64197f2e0bf04d5ef.tar.xz
musl-78b1f3cb1406b475ad8800a64197f2e0bf04d5ef.zip
add preadv2 and pwritev2 syscall numbers for linux v4.6
the syscalls take an additional flag argument, they were added in commit f17d8b35452cab31a70d224964cd583fb2845449 and a RWF_HIPRI priority hint flag was added to linux/fs.h in 97be7ebe53915af504fb491fb99f064c7cf3cb09. the syscall is not allocated for microblaze and sh yet.
Diffstat (limited to 'arch/x32')
-rw-r--r--arch/x32/bits/syscall.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x32/bits/syscall.h.in b/arch/x32/bits/syscall.h.in
index 0b9362a3..cf2b4f14 100644
--- a/arch/x32/bits/syscall.h.in
+++ b/arch/x32/bits/syscall.h.in
@@ -280,6 +280,8 @@
#define __NR_membarrier (0x40000000 + 324)
#define __NR_mlock2 (0x40000000 + 325)
#define __NR_copy_file_range (0x40000000 + 326)
+#define __NR_preadv2 (0x40000000 + 327)
+#define __NR_pwritev2 (0x40000000 + 328)
#define __NR_rt_sigaction (0x40000000 + 512)
#define __NR_rt_sigreturn (0x40000000 + 513)