MIPS: Wire up io_pgetevents syscall
authorPaul Burton <paul.burton@mips.com>
Fri, 15 Jun 2018 00:24:07 +0000 (17:24 -0700)
committerPaul Burton <paul.burton@mips.com>
Wed, 20 Jun 2018 04:14:29 +0000 (21:14 -0700)
Wire up the io_pgetevents syscall that was introduced by commit
7a074e96dee6 ("aio: implement io_pgetevents").

Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/19593/
Cc: James Hogan <jhogan@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
arch/mips/include/uapi/asm/unistd.h
arch/mips/kernel/scall32-o32.S
arch/mips/kernel/scall64-64.S
arch/mips/kernel/scall64-n32.S
arch/mips/kernel/scall64-o32.S

index 170bf0b5b250f395498f1b2ccbfc3e5ee0a0585e..f25dd1d83fb74700b33e4bf2387ebf89ac200f64 100644 (file)
 #define __NR_pkey_free                 (__NR_Linux + 365)
 #define __NR_statx                     (__NR_Linux + 366)
 #define __NR_rseq                      (__NR_Linux + 367)
+#define __NR_io_pgetevents             (__NR_Linux + 368)
 
 
 /*
  * Offset of the last Linux o32 flavoured syscall
  */
-#define __NR_Linux_syscalls            367
+#define __NR_Linux_syscalls            368
 
 #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
 
 #define __NR_O32_Linux                 4000
-#define __NR_O32_Linux_syscalls                367
+#define __NR_O32_Linux_syscalls                368
 
 #if _MIPS_SIM == _MIPS_SIM_ABI64
 
 #define __NR_pkey_free                 (__NR_Linux + 325)
 #define __NR_statx                     (__NR_Linux + 326)
 #define __NR_rseq                      (__NR_Linux + 327)
+#define __NR_io_pgetevents             (__NR_Linux + 328)
 
 /*
  * Offset of the last Linux 64-bit flavoured syscall
  */
-#define __NR_Linux_syscalls            327
+#define __NR_Linux_syscalls            328
 
 #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
 
 #define __NR_64_Linux                  5000
-#define __NR_64_Linux_syscalls         327
+#define __NR_64_Linux_syscalls         328
 
 #if _MIPS_SIM == _MIPS_SIM_NABI32
 
 #define __NR_pkey_free                 (__NR_Linux + 329)
 #define __NR_statx                     (__NR_Linux + 330)
 #define __NR_rseq                      (__NR_Linux + 331)
+#define __NR_io_pgetevents             (__NR_Linux + 332)
 
 /*
  * Offset of the last N32 flavoured syscall
  */
-#define __NR_Linux_syscalls            331
+#define __NR_Linux_syscalls            332
 
 #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
 
 #define __NR_N32_Linux                 6000
-#define __NR_N32_Linux_syscalls                331
+#define __NR_N32_Linux_syscalls                332
 
 #endif /* _UAPI_ASM_UNISTD_H */
index 842ff1612893d3edf83307bb8407b88edc725dac..91d3c8c46097cd960fd541cdf7c76d7e0d3636e3 100644 (file)
@@ -591,3 +591,4 @@ EXPORT(sys_call_table)
        PTR     sys_pkey_free                   /* 4365 */
        PTR     sys_statx
        PTR     sys_rseq
+       PTR     sys_io_pgetevents
index 558830d1e5ba80c2342bfac46bd6785f9cccceba..358d9599983d17840cd909ea7851197e7b38b838 100644 (file)
@@ -440,4 +440,5 @@ EXPORT(sys_call_table)
        PTR     sys_pkey_free                   /* 5325 */
        PTR     sys_statx
        PTR     sys_rseq
+       PTR     sys_io_pgetevents
        .size   sys_call_table,.-sys_call_table
index 293f0b0119f37c6fa236cbde370323424673c07f..c65eaacc1abfcf4c15a40721056cf6c3503927ee 100644 (file)
@@ -435,4 +435,5 @@ EXPORT(sysn32_call_table)
        PTR     sys_pkey_free
        PTR     sys_statx                       /* 6330 */
        PTR     sys_rseq
+       PTR     compat_sys_io_pgetevents
        .size   sysn32_call_table,.-sysn32_call_table
index f13a08de80781f143b68d858865e13e59fe3d7ee..73913f072e3916f36c23bda86870f83002a725c0 100644 (file)
@@ -584,4 +584,5 @@ EXPORT(sys32_call_table)
        PTR     sys_pkey_free                   /* 4365 */
        PTR     sys_statx
        PTR     sys_rseq
+       PTR     compat_sys_io_pgetevents
        .size   sys32_call_table,.-sys32_call_table