diff options
author | Rui Salvaterra <rsalvaterra@gmail.com> | 2016-04-19 13:23:36 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-04-27 16:47:55 +1000 |
commit | d701cca6744fe0d67c86346dcfc9b128b17b5045 (patch) | |
tree | fc2e277da3a2138bf5498c62139bd0cc9736fdec /arch/powerpc/include/asm/systbl.h | |
parent | 2bc79ffcbb817873cc43d63118008ab75181b73d (diff) | |
download | linux-stable-d701cca6744fe0d67c86346dcfc9b128b17b5045.tar.gz linux-stable-d701cca6744fe0d67c86346dcfc9b128b17b5045.tar.bz2 linux-stable-d701cca6744fe0d67c86346dcfc9b128b17b5045.zip |
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>
Diffstat (limited to 'arch/powerpc/include/asm/systbl.h')
-rw-r--r-- | arch/powerpc/include/asm/systbl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/systbl.h b/arch/powerpc/include/asm/systbl.h index 3fa9df70aa20..2fc5d4db503c 100644 --- a/arch/powerpc/include/asm/systbl.h +++ b/arch/powerpc/include/asm/systbl.h @@ -384,3 +384,5 @@ SYSCALL(ni_syscall) SYSCALL(ni_syscall) SYSCALL(mlock2) SYSCALL(copy_file_range) +COMPAT_SYS_SPU(preadv2) +COMPAT_SYS_SPU(pwritev2) |