summaryrefslogtreecommitdiff
path: root/arch/x86/entry/syscall_x32.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-25 07:51:43 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2020-10-03 07:02:14 +0300
commit5f764d624a89d4d00d282157077878d4e7c69869 (patch)
tree5ad714ef51e36e78d7e8b4a43e4d9d7fca0c7915 /arch/x86/entry/syscall_x32.c
parent3523a9d45478984169d7f4416a00c83afc964e2a (diff)
downloadlinux-5f764d624a89d4d00d282157077878d4e7c69869.tar.xz
fs: remove the compat readv/writev syscalls
Now that import_iovec handles compat iovecs, the native readv and writev syscalls can be used for the compat case as well. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/x86/entry/syscall_x32.c')
-rw-r--r--arch/x86/entry/syscall_x32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/entry/syscall_x32.c b/arch/x86/entry/syscall_x32.c
index 1583831f61a9..aa321444a41f 100644
--- a/arch/x86/entry/syscall_x32.c
+++ b/arch/x86/entry/syscall_x32.c
@@ -12,6 +12,8 @@
* Reuse the 64-bit entry points for the x32 versions that occupy different
* slots in the syscall table.
*/
+#define __x32_sys_readv __x64_sys_readv
+#define __x32_sys_writev __x64_sys_writev
#define __x32_sys_getsockopt __x64_sys_getsockopt
#define __x32_sys_setsockopt __x64_sys_setsockopt