powerpc: wire up preadv2 and pwritev2 syscalls
authorRui Salvaterra <rsalvaterra@gmail.com>
Tue, 19 Apr 2016 12:23:36 +0000 (13:23 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 27 Apr 2016 06:47:55 +0000 (16:47 +1000)
commitd701cca6744fe0d67c86346dcfc9b128b17b5045
treefc2e277da3a2138bf5498c62139bd0cc9736fdec
parent2bc79ffcbb817873cc43d63118008ab75181b73d
powerpc: wire up preadv2 and pwritev2 syscalls

Wire up preadv2/pwritev2 in the same way as preadv/pwritev. Fixes two
build warnings on ppc64.

mpe: Lightly tested with fio (slightly hacked to add the syscall
wrappers):

  fio-4217  [009] ....  1304.635300: sys_preadv2(fd: 3, vec:
  10025821de0, vlen: 1, pos_l: 6253000, pos_h: 0, flags: 1)
  fio-4217  [009] ....  1304.635474: sys_preadv2 -> 0x1000

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
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