[IA64] Enable preadv2 and pwritev2 syscalls for ia64
authorTony Luck <tony.luck@intel.com>
Fri, 25 Mar 2016 21:37:32 +0000 (14:37 -0700)
committerTony Luck <tony.luck@intel.com>
Fri, 25 Mar 2016 21:37:32 +0000 (14:37 -0700)
New system calls added in:
      f17d8b35452cab31a70d224964cd583fb2845449
      vfs: vfs: Define new syscalls preadv2,pwritev2

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 6a8685051b676196780cab79a495fc6d906ccce7..8c85209753abc210bdcec5be8f7f9afb6abae369 100644 (file)
@@ -11,7 +11,7 @@
 
 
 
-#define NR_syscalls                    324 /* length of syscall table */
+#define NR_syscalls                    326 /* length of syscall table */
 
 /*
  * The following defines stop scripts/checksyscalls.sh from complaining about
index 41369a103838a6e3d8776f550885399d9006e60e..ea5363daa7bd1e967c9f4674545e5eae0e57befa 100644 (file)
 #define __NR_kcmp                      1345
 #define __NR_mlock2                    1346
 #define __NR_copy_file_range           1347
+#define __NR_preadv2                   1348
+#define __NR_pwritev2                  1349
 
 #endif /* _UAPI_ASM_IA64_UNISTD_H */
index 477c55e244ecd45ce879dea27779967a16e0d13c..cfaa7b25084c5384e849af309b0245a652b34e67 100644 (file)
@@ -1773,5 +1773,7 @@ sys_call_table:
        data8 sys_kcmp                          // 1345
        data8 sys_mlock2
        data8 sys_copy_file_range
+       data8 sys_preadv2
+       data8 sys_pwritev2
 
        .org sys_call_table + 8*NR_syscalls     // guard against failures to increase NR_syscalls