From 84d4f5eee5a291dcb25a2a8f781a9a48f70f4731 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy 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/i386/bits/syscall.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/i386/bits/syscall.h') diff --git a/arch/i386/bits/syscall.h b/arch/i386/bits/syscall.h index b1a389b4..25cd50ab 100644 --- a/arch/i386/bits/syscall.h +++ b/arch/i386/bits/syscall.h @@ -375,6 +375,7 @@ #define __NR_userfaultfd 374 #define __NR_membarrier 375 #define __NR_mlock2 376 +#define __NR_copy_file_range 377 /* Repeated with SYS_ prefix */ @@ -756,3 +757,4 @@ #define SYS_userfaultfd 374 #define SYS_membarrier 375 #define SYS_mlock2 376 +#define SYS_copy_file_range 377 -- cgit v1.2.1