about summary refs log tree commit diff
path: root/arch/mips64/bits
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2016-03-19 13:35:43 +0100
committerRich Felker <dalias@aerifal.cx>2016-03-19 11:30:49 -0400
commit84d4f5eee5a291dcb25a2a8f781a9a48f70f4731 (patch)
tree31f949530e4a3d8c52b568fac956236dd3f4b254 /arch/mips64/bits
parent2de52704ca644f129cc87ac1b28a06198d7dd829 (diff)
downloadmusl-84d4f5eee5a291dcb25a2a8f781a9a48f70f4731.tar.gz
musl-84d4f5eee5a291dcb25a2a8f781a9a48f70f4731.tar.xz
musl-84d4f5eee5a291dcb25a2a8f781a9a48f70f4731.zip
add copy_file_range syscall numbers from linux v4.5
it was introduced for offloading copying between regular files
in linux commit 29732938a6289a15e907da234d6692a2ead71855

(microblaze and sh does not yet have the syscall number.)
Diffstat (limited to 'arch/mips64/bits')
-rw-r--r--arch/mips64/bits/syscall.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips64/bits/syscall.h b/arch/mips64/bits/syscall.h
index 8c818825..a84a5197 100644
--- a/arch/mips64/bits/syscall.h
+++ b/arch/mips64/bits/syscall.h
@@ -317,6 +317,7 @@
 #define __NR_userfaultfd		5317
 #define __NR_membarrier			5318
 #define __NR_mlock2			5319
+#define __NR_copy_file_range		5320
 
 #define SYS_read			5000
 #define SYS_write			5001
@@ -637,3 +638,4 @@
 #define SYS_userfaultfd			5317
 #define SYS_membarrier			5318
 #define SYS_mlock2			5319
+#define SYS_copy_file_range		5320