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/unistd.h | |
parent | 2bc79ffcbb817873cc43d63118008ab75181b73d (diff) | |
download | lwn-d701cca6744fe0d67c86346dcfc9b128b17b5045.tar.gz lwn-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/unistd.h')
-rw-r--r-- | arch/powerpc/include/asm/unistd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/unistd.h b/arch/powerpc/include/asm/unistd.h index 1f2594d45605..cf12c580f6b2 100644 --- a/arch/powerpc/include/asm/unistd.h +++ b/arch/powerpc/include/asm/unistd.h @@ -12,7 +12,7 @@ #include <uapi/asm/unistd.h> -#define NR_syscalls 380 +#define NR_syscalls 382 #define __NR__exit __NR_exit |