Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 4337aac1 authored by Paul Burton's avatar Paul Burton
Browse files

MIPS: Wire up io_pgetevents syscall



Wire up the io_pgetevents syscall that was introduced by commit
7a074e96 ("aio: implement io_pgetevents").

Signed-off-by: default avatarPaul 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
parent 744f4be5
Loading
Loading
Loading
Loading
+9 −6
Original line number Diff line number Diff line
@@ -389,17 +389,18 @@
#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

@@ -735,16 +736,17 @@
#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

@@ -1084,15 +1086,16 @@
#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 */
+1 −0
Original line number Diff line number Diff line
@@ -591,3 +591,4 @@ EXPORT(sys_call_table)
	PTR	sys_pkey_free			/* 4365 */
	PTR	sys_statx
	PTR	sys_rseq
	PTR	sys_io_pgetevents
+1 −0
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -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