Commit 5f764d62 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Al Viro
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 3523a9d4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -301,9 +301,9 @@ __SYSCALL(__NR_flock, sys_flock)
#define __NR_msync 144
__SYSCALL(__NR_msync, sys_msync)
#define __NR_readv 145
__SYSCALL(__NR_readv, compat_sys_readv)
__SYSCALL(__NR_readv, sys_readv)
#define __NR_writev 146
__SYSCALL(__NR_writev, compat_sys_writev)
__SYSCALL(__NR_writev, sys_writev)
#define __NR_getsid 147
__SYSCALL(__NR_getsid, sys_getsid)
#define __NR_fdatasync 148
+2 −2
Original line number Diff line number Diff line
@@ -25,8 +25,8 @@
15	n32	ioctl				compat_sys_ioctl
16	n32	pread64				sys_pread64
17	n32	pwrite64			sys_pwrite64
18	n32	readv				compat_sys_readv
19	n32	writev				compat_sys_writev
18	n32	readv				sys_readv
19	n32	writev				sys_writev
20	n32	access				sys_access
21	n32	pipe				sysm_pipe
22	n32	_newselect			compat_sys_select
+2 −2
Original line number Diff line number Diff line
@@ -156,8 +156,8 @@
142	o32	_newselect			sys_select			compat_sys_select
143	o32	flock				sys_flock
144	o32	msync				sys_msync
145	o32	readv				sys_readv			compat_sys_readv
146	o32	writev				sys_writev			compat_sys_writev
145	o32	readv				sys_readv
146	o32	writev				sys_writev
147	o32	cacheflush			sys_cacheflush
148	o32	cachectl			sys_cachectl
149	o32	sysmips				__sys_sysmips
+2 −2
Original line number Diff line number Diff line
@@ -159,8 +159,8 @@
142	common	_newselect		sys_select			compat_sys_select
143	common	flock			sys_flock
144	common	msync			sys_msync
145	common	readv			sys_readv			compat_sys_readv
146	common	writev			sys_writev			compat_sys_writev
145	common	readv			sys_readv
146	common	writev			sys_writev
147	common	getsid			sys_getsid
148	common	fdatasync		sys_fdatasync
149	common	_sysctl			sys_ni_syscall
+2 −2
Original line number Diff line number Diff line
@@ -193,8 +193,8 @@
142	common	_newselect			sys_select			compat_sys_select
143	common	flock				sys_flock
144	common	msync				sys_msync
145	common	readv				sys_readv			compat_sys_readv
146	common	writev				sys_writev			compat_sys_writev
145	common	readv				sys_readv
146	common	writev				sys_writev
147	common	getsid				sys_getsid
148	common	fdatasync			sys_fdatasync
149	nospu	_sysctl				sys_ni_syscall
Loading