[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1460043455-26583-1-git-send-email-hch@lst.de>
Date: Thu, 7 Apr 2016 08:37:35 -0700
From: Christoph Hellwig <hch@....de>
To: x86@...nel.org
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] x86: wire up compat readv2/writev2 syscalls
Signed-off-by: Christoph Hellwig <hch@....de>
Reported-by: David Smith <dsmith@...hat.com>
Tested-by: David Smith <dsmith@...hat.com>
---
arch/x86/entry/syscalls/syscall_32.tbl | 4 ++--
arch/x86/entry/syscalls/syscall_64.tbl | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/arch/x86/entry/syscalls/syscall_32.tbl b/arch/x86/entry/syscalls/syscall_32.tbl
index b30dd81..4cddd17 100644
--- a/arch/x86/entry/syscalls/syscall_32.tbl
+++ b/arch/x86/entry/syscalls/syscall_32.tbl
@@ -384,5 +384,5 @@
375 i386 membarrier sys_membarrier
376 i386 mlock2 sys_mlock2
377 i386 copy_file_range sys_copy_file_range
-378 i386 preadv2 sys_preadv2
-379 i386 pwritev2 sys_pwritev2
+378 i386 preadv2 sys_preadv2 compat_sys_preadv2
+379 i386 pwritev2 sys_pwritev2 compat_sys_pwritev2
diff --git a/arch/x86/entry/syscalls/syscall_64.tbl b/arch/x86/entry/syscalls/syscall_64.tbl
index cac6d17..dc3355b 100644
--- a/arch/x86/entry/syscalls/syscall_64.tbl
+++ b/arch/x86/entry/syscalls/syscall_64.tbl
@@ -374,3 +374,5 @@
543 x32 io_setup compat_sys_io_setup
544 x32 io_submit compat_sys_io_submit
545 x32 execveat compat_sys_execveat/ptregs
+534 x32 preadv2 compat_sys_preadv2
+535 x32 pwritev2 compat_sys_pwrite2
--
2.1.4
Powered by blists - more mailing lists