]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
[IA64] Enable copy_file_range syscall for ia64
authorTony Luck <tony.luck@intel.com>
Fri, 22 Jan 2016 22:20:01 +0000 (14:20 -0800)
committerTony Luck <tony.luck@intel.com>
Fri, 22 Jan 2016 22:20:01 +0000 (14:20 -0800)
New system call added in:
  29732938a6289a15e907da234d6692a2ead71855
  vfs: add copy_file_range syscall and vfs helper

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/include/asm/unistd.h
arch/ia64/include/uapi/asm/unistd.h
arch/ia64/kernel/entry.S

index 74c132d901bd290bcc803b7c0a0266428a2ec1cb..6a8685051b676196780cab79a495fc6d906ccce7 100644 (file)
@@ -11,7 +11,7 @@
 
 
 
-#define NR_syscalls                    323 /* length of syscall table */
+#define NR_syscalls                    324 /* length of syscall table */
 
 /*
  * The following defines stop scripts/checksyscalls.sh from complaining about
index 762edce7572eb33f03a3402e4357de69626764c9..41369a103838a6e3d8776f550885399d9006e60e 100644 (file)
 #define __NR_membarrier                        1344
 #define __NR_kcmp                      1345
 #define __NR_mlock2                    1346
+#define __NR_copy_file_range           1347
 
 #endif /* _UAPI_ASM_IA64_UNISTD_H */
index 534a74acb849d736726b5f066675f0a3a4c87ed4..477c55e244ecd45ce879dea27779967a16e0d13c 100644 (file)
@@ -1772,5 +1772,6 @@ sys_call_table:
        data8 sys_membarrier
        data8 sys_kcmp                          // 1345
        data8 sys_mlock2
+       data8 sys_copy_file_range
 
        .org sys_call_table + 8*NR_syscalls     // guard against failures to increase NR_syscalls