Commit b2f82565 authored by Breno Leitao's avatar Breno Leitao Committed by Michael Ellerman

powerpc: Wire up io_pgetevents

Wire up io_pgetevents system call on powerpc.

io_pgetevents is a new syscall to read asynchronous I/O events from the
completion queue.

Tested with libaio branch aio-poll[1] and the io_pgetevents test (#22) passed
on both ppc64 LE and BE modes.

[1] https://pagure.io/libaio/branch/aio-poll

CC: Christoph Hellwig <hch@lst.de>
Signed-off-by: default avatarBreno Leitao <leitao@debian.org>
Acked-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent fadd03c6
...@@ -393,3 +393,4 @@ SYSCALL(pkey_alloc) ...@@ -393,3 +393,4 @@ SYSCALL(pkey_alloc)
SYSCALL(pkey_free) SYSCALL(pkey_free)
SYSCALL(pkey_mprotect) SYSCALL(pkey_mprotect)
SYSCALL(rseq) SYSCALL(rseq)
COMPAT_SYS(io_pgetevents)
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <uapi/asm/unistd.h> #include <uapi/asm/unistd.h>
#define NR_syscalls 388 #define NR_syscalls 389
#define __NR__exit __NR_exit #define __NR__exit __NR_exit
......
...@@ -399,5 +399,6 @@ ...@@ -399,5 +399,6 @@
#define __NR_pkey_free 385 #define __NR_pkey_free 385
#define __NR_pkey_mprotect 386 #define __NR_pkey_mprotect 386
#define __NR_rseq 387 #define __NR_rseq 387
#define __NR_io_pgetevents 388
#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */ #endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment