Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1382436 > unrolled thread
| Started by | Rui Salvaterra <rsalvaterra@gmail.com> |
|---|---|
| First post | 2016-04-19 14:30 +0200 |
| Last post | 2016-04-28 04:00 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] powerpc: wire up preadv2 and pwritev2 syscalls Rui Salvaterra <rsalvaterra@gmail.com> - 2016-04-19 14:30 +0200
Re: powerpc: wire up preadv2 and pwritev2 syscalls Michael Ellerman <mpe@ellerman.id.au> - 2016-04-28 04:00 +0200
| From | Rui Salvaterra <rsalvaterra@gmail.com> |
|---|---|
| Date | 2016-04-19 14:30 +0200 |
| Subject | [PATCH] powerpc: wire up preadv2 and pwritev2 syscalls |
| Message-ID | <rpCX0-6Oi-13@gated-at.bofh.it> |
Wire up preadv2/pwritev2 in the same way as preadv/pwritev. Fixes two build warnings on ppc64. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com> --- arch/powerpc/include/asm/systbl.h | 2 ++ arch/powerpc/include/asm/unistd.h | 2 +- arch/powerpc/include/uapi/asm/unistd.h | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/systbl.h b/arch/powerpc/include/asm/systbl.h index 3fa9df7..2fc5d4d 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) diff --git a/arch/powerpc/include/asm/unistd.h b/arch/powerpc/include/asm/unistd.h index 1f2594d..cf12c58 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 diff --git a/arch/powerpc/include/uapi/asm/unistd.h b/arch/powerpc/include/uapi/asm/unistd.h index 940290d..e9f5f41 100644 --- a/arch/powerpc/include/uapi/asm/unistd.h +++ b/arch/powerpc/include/uapi/asm/unistd.h @@ -390,5 +390,7 @@ #define __NR_membarrier 365 #define __NR_mlock2 378 #define __NR_copy_file_range 379 +#define __NR_preadv2 380 +#define __NR_pwritev2 381 #endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */ -- 2.7.4
[toc] | [next] | [standalone]
| From | Michael Ellerman <mpe@ellerman.id.au> |
|---|---|
| Date | 2016-04-28 04:00 +0200 |
| Subject | Re: powerpc: wire up preadv2 and pwritev2 syscalls |
| Message-ID | <rsJph-35w-7@gated-at.bofh.it> |
| In reply to | #1382436 |
On Tue, 2016-19-04 at 12:23:36 UTC, Rui Salvaterra wrote: > Wire up preadv2/pwritev2 in the same way as preadv/pwritev. Fixes two > build warnings on ppc64. > > Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com> Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/d701cca6744fe0d67c86346dcf cheers
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web