Skip to content

Commit b2f8256

Browse files
leitaompe
authored andcommitted
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 <[email protected]> Signed-off-by: Breno Leitao <[email protected]> Acked-by: Christoph Hellwig <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
1 parent fadd03c commit b2f8256

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

arch/powerpc/include/asm/systbl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,3 +393,4 @@ SYSCALL(pkey_alloc)
393393
SYSCALL(pkey_free)
394394
SYSCALL(pkey_mprotect)
395395
SYSCALL(rseq)
396+
COMPAT_SYS(io_pgetevents)

arch/powerpc/include/asm/unistd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <uapi/asm/unistd.h>
1313

1414

15-
#define NR_syscalls 388
15+
#define NR_syscalls 389
1616

1717
#define __NR__exit __NR_exit
1818

arch/powerpc/include/uapi/asm/unistd.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,5 +399,6 @@
399399
#define __NR_pkey_free 385
400400
#define __NR_pkey_mprotect 386
401401
#define __NR_rseq 387
402+
#define __NR_io_pgetevents 388
402403

403404
#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */

0 commit comments

Comments
 (0)