diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-25 06:51:43 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-10-03 00:02:14 -0400 |
commit | 5f764d624a89d4d00d282157077878d4e7c69869 (patch) | |
tree | 5ad714ef51e36e78d7e8b4a43e4d9d7fca0c7915 /tools/include/uapi/asm-generic/unistd.h | |
parent | 3523a9d45478984169d7f4416a00c83afc964e2a (diff) | |
download | lwn-5f764d624a89d4d00d282157077878d4e7c69869.tar.gz lwn-5f764d624a89d4d00d282157077878d4e7c69869.zip |
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 'tools/include/uapi/asm-generic/unistd.h')
-rw-r--r-- | tools/include/uapi/asm-generic/unistd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/include/uapi/asm-generic/unistd.h b/tools/include/uapi/asm-generic/unistd.h index 995b36c2ea7d..211c9eacbda6 100644 --- a/tools/include/uapi/asm-generic/unistd.h +++ b/tools/include/uapi/asm-generic/unistd.h @@ -207,9 +207,9 @@ __SYSCALL(__NR_read, sys_read) #define __NR_write 64 __SYSCALL(__NR_write, sys_write) #define __NR_readv 65 -__SC_COMP(__NR_readv, sys_readv, compat_sys_readv) +__SC_COMP(__NR_readv, sys_readv, sys_readv) #define __NR_writev 66 -__SC_COMP(__NR_writev, sys_writev, compat_sys_writev) +__SC_COMP(__NR_writev, sys_writev, sys_writev) #define __NR_pread64 67 __SC_COMP(__NR_pread64, sys_pread64, compat_sys_pread64) #define __NR_pwrite64 68 |