]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c2f7c401e907c8724aed76f0f938d77dcd7af80
treefc2e277da3a2138bf5498c62139bd0cc9736fdec
parent0a539657b7532e70e43942d8b8f15d36e7e2cb89
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