]> 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)
commit48c56f5e7e6034b8780d9210607cc7caa8416977
treefc2e277da3a2138bf5498c62139bd0cc9736fdec
parent3fd4dbe06f7fc640843bb45c4563224b6c59e834
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