From 84d4f5eee5a291dcb25a2a8f781a9a48f70f4731 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Sat, 19 Mar 2016 13:35:43 +0100
Subject: 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.)
---
 arch/x32/bits/syscall.h | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'arch/x32')

diff --git a/arch/x32/bits/syscall.h b/arch/x32/bits/syscall.h
index 4a1099d3..bd5ab3b4 100644
--- a/arch/x32/bits/syscall.h
+++ b/arch/x32/bits/syscall.h
@@ -280,6 +280,7 @@
 #define __NR_userfaultfd (__X32_SYSCALL_BIT + 323)
 #define __NR_membarrier (__X32_SYSCALL_BIT + 324)
 #define __NR_mlock2 (__X32_SYSCALL_BIT + 325)
+#define __NR_copy_file_range (__X32_SYSCALL_BIT + 326)
 
 #define __NR_rt_sigaction (__X32_SYSCALL_BIT + 512)
 #define __NR_rt_sigreturn (__X32_SYSCALL_BIT + 513)
@@ -613,6 +614,7 @@
 #define SYS_userfaultfd __NR_userfaultfd
 #define SYS_membarrier __NR_membarrier
 #define SYS_mlock2 __NR_mlock2
+#define SYS_copy_file_range __NR_copy_file_range
 
 
 #define SYS_rt_sigaction __NR_rt_sigaction
-- 
cgit v1.2.3-70-g09d2