Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

+13 -6
+9 -6
arch/mips/include/uapi/asm/unistd.h
··· 389 389 #define __NR_pkey_free (__NR_Linux + 365) 390 390 #define __NR_statx (__NR_Linux + 366) 391 391 #define __NR_rseq (__NR_Linux + 367) 392 + #define __NR_io_pgetevents (__NR_Linux + 368) 392 393 393 394 394 395 /* 395 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 400 #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ 400 401 401 402 #define __NR_O32_Linux 4000 402 - #define __NR_O32_Linux_syscalls 367 403 + #define __NR_O32_Linux_syscalls 368 403 404 404 405 #if _MIPS_SIM == _MIPS_SIM_ABI64 405 406 ··· 736 735 #define __NR_pkey_free (__NR_Linux + 325) 737 736 #define __NR_statx (__NR_Linux + 326) 738 737 #define __NR_rseq (__NR_Linux + 327) 738 + #define __NR_io_pgetevents (__NR_Linux + 328) 739 739 740 740 /* 741 741 * Offset of the last Linux 64-bit flavoured syscall 742 742 */ 743 - #define __NR_Linux_syscalls 327 743 + #define __NR_Linux_syscalls 328 744 744 745 745 #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ 746 746 747 747 #define __NR_64_Linux 5000 748 - #define __NR_64_Linux_syscalls 327 748 + #define __NR_64_Linux_syscalls 328 749 749 750 750 #if _MIPS_SIM == _MIPS_SIM_NABI32 751 751 ··· 1086 1084 #define __NR_pkey_free (__NR_Linux + 329) 1087 1085 #define __NR_statx (__NR_Linux + 330) 1088 1086 #define __NR_rseq (__NR_Linux + 331) 1087 + #define __NR_io_pgetevents (__NR_Linux + 332) 1089 1088 1090 1089 /* 1091 1090 * Offset of the last N32 flavoured syscall 1092 1091 */ 1093 - #define __NR_Linux_syscalls 331 1092 + #define __NR_Linux_syscalls 332 1094 1093 1095 1094 #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */ 1096 1095 1097 1096 #define __NR_N32_Linux 6000 1098 - #define __NR_N32_Linux_syscalls 331 1097 + #define __NR_N32_Linux_syscalls 332 1099 1098 1100 1099 #endif /* _UAPI_ASM_UNISTD_H */
+1
arch/mips/kernel/scall32-o32.S
··· 591 591 PTR sys_pkey_free /* 4365 */ 592 592 PTR sys_statx 593 593 PTR sys_rseq 594 + PTR sys_io_pgetevents
+1
arch/mips/kernel/scall64-64.S
··· 440 440 PTR sys_pkey_free /* 5325 */ 441 441 PTR sys_statx 442 442 PTR sys_rseq 443 + PTR sys_io_pgetevents 443 444 .size sys_call_table,.-sys_call_table
+1
arch/mips/kernel/scall64-n32.S
··· 435 435 PTR sys_pkey_free 436 436 PTR sys_statx /* 6330 */ 437 437 PTR sys_rseq 438 + PTR compat_sys_io_pgetevents 438 439 .size sysn32_call_table,.-sysn32_call_table
+1
arch/mips/kernel/scall64-o32.S
··· 584 584 PTR sys_pkey_free /* 4365 */ 585 585 PTR sys_statx 586 586 PTR sys_rseq 587 + PTR compat_sys_io_pgetevents 587 588 .size sys32_call_table,.-sys32_call_table