aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2018-06-14 20:24:07 -0400
committerPaul Burton <paul.burton@mips.com>2018-06-20 00:14:29 -0400
commit4337aac1e1c97cfda56fbec4077fbc0e37b867c0 (patch)
treed1a68836903b6bf80bb7a9c6b5c8fa5306a45278
parent744f4be542d705a39dac9810350e96f37474eda3 (diff)
MIPS: Wire up io_pgetevents syscall
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
-rw-r--r--arch/mips/include/uapi/asm/unistd.h15
-rw-r--r--arch/mips/kernel/scall32-o32.S1
-rw-r--r--arch/mips/kernel/scall64-64.S1
-rw-r--r--arch/mips/kernel/scall64-n32.S1
-rw-r--r--arch/mips/kernel/scall64-o32.S1
5 files changed, 13 insertions, 6 deletions
diff --git a/arch/mips/include/uapi/asm/unistd.h b/arch/mips/include/uapi/asm/unistd.h
index 170bf0b5b250..f25dd1d83fb7 100644
--- a/arch/mips/include/uapi/asm/unistd.h
+++ b/arch/mips/include/uapi/asm/unistd.h
@@ -389,17 +389,18 @@
389#define __NR_pkey_free (__NR_Linux + 365) 389#define __NR_pkey_free (__NR_Linux + 365)
390#define __NR_statx (__NR_Linux + 366) 390#define __NR_statx (__NR_Linux + 366)
391#define __NR_rseq (__NR_Linux + 367) 391#define __NR_rseq (__NR_Linux + 367)
392#define __NR_io_pgetevents (__NR_Linux + 368)
392 393
393 394
394/* 395/*
395 * Offset of the last Linux o32 flavoured syscall 396 * Offset of the last Linux o32 flavoured syscall
396 */ 397 */
397#define __NR_Linux_syscalls 367 398#define __NR_Linux_syscalls 368
398 399
399#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ 400#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
400 401
401#define __NR_O32_Linux 4000 402#define __NR_O32_Linux 4000
402#define __NR_O32_Linux_syscalls 367 403#define __NR_O32_Linux_syscalls 368
403 404
404#if _MIPS_SIM == _MIPS_SIM_ABI64 405#if _MIPS_SIM == _MIPS_SIM_ABI64
405 406
@@ -735,16 +736,17 @@
735#define __NR_pkey_free (__NR_Linux + 325) 736#define __NR_pkey_free (__NR_Linux + 325)
736#define __NR_statx (__NR_Linux + 326) 737#define __NR_statx (__NR_Linux + 326)
737#define __NR_rseq (__NR_Linux + 327) 738#define __NR_rseq (__NR_Linux + 327)
739#define __NR_io_pgetevents (__NR_Linux + 328)
738 740
739/* 741/*
740 * Offset of the last Linux 64-bit flavoured syscall 742 * Offset of the last Linux 64-bit flavoured syscall
741 */ 743 */
742#define __NR_Linux_syscalls 327 744#define __NR_Linux_syscalls 328
743 745
744#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ 746#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
745 747
746#define __NR_64_Linux 5000 748#define __NR_64_Linux 5000
747#define __NR_64_Linux_syscalls 327 749#define __NR_64_Linux_syscalls 328
748 750
749#if _MIPS_SIM == _MIPS_SIM_NABI32 751#if _MIPS_SIM == _MIPS_SIM_NABI32
750 752
@@ -1084,15 +1086,16 @@
1084#define __NR_pkey_free (__NR_Linux + 329) 1086#define __NR_pkey_free (__NR_Linux + 329)
1085#define __NR_statx (__NR_Linux + 330) 1087#define __NR_statx (__NR_Linux + 330)
1086#define __NR_rseq (__NR_Linux + 331) 1088#define __NR_rseq (__NR_Linux + 331)
1089#define __NR_io_pgetevents (__NR_Linux + 332)
1087 1090
1088/* 1091/*
1089 * Offset of the last N32 flavoured syscall 1092 * Offset of the last N32 flavoured syscall
1090 */ 1093 */
1091#define __NR_Linux_syscalls 331 1094#define __NR_Linux_syscalls 332
1092 1095
1093#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */ 1096#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
1094 1097
1095#define __NR_N32_Linux 6000 1098#define __NR_N32_Linux 6000
1096#define __NR_N32_Linux_syscalls 331 1099#define __NR_N32_Linux_syscalls 332
1097 1100
1098#endif /* _UAPI_ASM_UNISTD_H */ 1101#endif /* _UAPI_ASM_UNISTD_H */
diff --git a/arch/mips/kernel/scall32-o32.S b/arch/mips/kernel/scall32-o32.S
index 842ff1612893..91d3c8c46097 100644
--- a/arch/mips/kernel/scall32-o32.S
+++ b/arch/mips/kernel/scall32-o32.S
@@ -591,3 +591,4 @@ EXPORT(sys_call_table)
591 PTR sys_pkey_free /* 4365 */ 591 PTR sys_pkey_free /* 4365 */
592 PTR sys_statx 592 PTR sys_statx
593 PTR sys_rseq 593 PTR sys_rseq
594 PTR sys_io_pgetevents
diff --git a/arch/mips/kernel/scall64-64.S b/arch/mips/kernel/scall64-64.S
index 558830d1e5ba..358d9599983d 100644
--- a/arch/mips/kernel/scall64-64.S
+++ b/arch/mips/kernel/scall64-64.S
@@ -440,4 +440,5 @@ EXPORT(sys_call_table)
440 PTR sys_pkey_free /* 5325 */ 440 PTR sys_pkey_free /* 5325 */
441 PTR sys_statx 441 PTR sys_statx
442 PTR sys_rseq 442 PTR sys_rseq
443 PTR sys_io_pgetevents
443 .size sys_call_table,.-sys_call_table 444 .size sys_call_table,.-sys_call_table
diff --git a/arch/mips/kernel/scall64-n32.S b/arch/mips/kernel/scall64-n32.S
index 293f0b0119f3..c65eaacc1abf 100644
--- a/arch/mips/kernel/scall64-n32.S
+++ b/arch/mips/kernel/scall64-n32.S
@@ -435,4 +435,5 @@ EXPORT(sysn32_call_table)
435 PTR sys_pkey_free 435 PTR sys_pkey_free
436 PTR sys_statx /* 6330 */ 436 PTR sys_statx /* 6330 */
437 PTR sys_rseq 437 PTR sys_rseq
438 PTR compat_sys_io_pgetevents
438 .size sysn32_call_table,.-sysn32_call_table 439 .size sysn32_call_table,.-sysn32_call_table
diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S
index f13a08de8078..73913f072e39 100644
--- a/arch/mips/kernel/scall64-o32.S
+++ b/arch/mips/kernel/scall64-o32.S
@@ -584,4 +584,5 @@ EXPORT(sys32_call_table)
584 PTR sys_pkey_free /* 4365 */ 584 PTR sys_pkey_free /* 4365 */
585 PTR sys_statx 585 PTR sys_statx
586 PTR sys_rseq 586 PTR sys_rseq
587 PTR compat_sys_io_pgetevents
587 .size sys32_call_table,.-sys32_call_table 588 .size sys32_call_table,.-sys32_call_table