Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1382595 > unrolled thread

[PATCH] asm-generic: wire up preadv2/pwritev2

Started byChristoph Hellwig <hch@lst.de>
First post2016-04-19 17:00 +0200
Last post2016-04-20 11:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] asm-generic: wire up preadv2/pwritev2 Christoph Hellwig <hch@lst.de> - 2016-04-19 17:00 +0200
    Re: [PATCH] asm-generic: wire up preadv2/pwritev2 Will Deacon <will.deacon@arm.com> - 2016-04-20 11:30 +0200

#1382595 — [PATCH] asm-generic: wire up preadv2/pwritev2

FromChristoph Hellwig <hch@lst.de>
Date2016-04-19 17:00 +0200
Subject[PATCH] asm-generic: wire up preadv2/pwritev2
Message-ID<rpFia-8s9-21@gated-at.bofh.it>
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 include/uapi/asm-generic/unistd.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h
index 2622b33..6e0f5f0 100644
--- a/include/uapi/asm-generic/unistd.h
+++ b/include/uapi/asm-generic/unistd.h
@@ -717,9 +717,13 @@ __SYSCALL(__NR_membarrier, sys_membarrier)
 __SYSCALL(__NR_mlock2, sys_mlock2)
 #define __NR_copy_file_range 285
 __SYSCALL(__NR_copy_file_range, sys_copy_file_range)
+#define __NR_preadv2 286
+__SYSCALL(__NR_preadv2, sys_preadv2)
+#define __NR_pwritev2 287
+__SYSCALL(__NR_pwritev2, sys_pwritev2)
 
 #undef __NR_syscalls
-#define __NR_syscalls 286
+#define __NR_syscalls 288
 
 /*
  * All syscalls below here should go away really,
-- 
2.1.4

[toc] | [next] | [standalone]


#1383200

FromWill Deacon <will.deacon@arm.com>
Date2016-04-20 11:30 +0200
Message-ID<rpWCn-5DB-23@gated-at.bofh.it>
In reply to#1382595
On Tue, Apr 19, 2016 at 10:59:14AM -0400, Christoph Hellwig wrote:
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  include/uapi/asm-generic/unistd.h | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h
> index 2622b33..6e0f5f0 100644
> --- a/include/uapi/asm-generic/unistd.h
> +++ b/include/uapi/asm-generic/unistd.h
> @@ -717,9 +717,13 @@ __SYSCALL(__NR_membarrier, sys_membarrier)
>  __SYSCALL(__NR_mlock2, sys_mlock2)
>  #define __NR_copy_file_range 285
>  __SYSCALL(__NR_copy_file_range, sys_copy_file_range)
> +#define __NR_preadv2 286
> +__SYSCALL(__NR_preadv2, sys_preadv2)
> +#define __NR_pwritev2 287
> +__SYSCALL(__NR_pwritev2, sys_pwritev2)
>  
>  #undef __NR_syscalls
> -#define __NR_syscalls 286
> +#define __NR_syscalls 288

We could do with this for arm64:

Acked-by: Will Deacon <will.deacon@arm.com>

Will

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web