powerpc: Wire up io_pgetevents
authorBreno Leitao <leitao@debian.org>
Wed, 20 Jun 2018 19:35:16 +0000 (16:35 -0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 23 Jun 2018 11:43:21 +0000 (21:43 +1000)
commitb2f82565f2caa1a5c1a26e68593eaef355fae3f4
tree4c28526f04c31047dfe2447378892df6335ff1e4
parentfadd03c615922d8521a2e76d4ba2335891cb2790
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: Breno Leitao <leitao@debian.org>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/systbl.h
arch/powerpc/include/asm/unistd.h
arch/powerpc/include/uapi/asm/unistd.h