summary refs log tree commit diff
path: root/sysvipc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-06-25 11:31:51 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-06-25 11:31:51 +0000
commit0f5b71850e7ae2a4fefade72c73556166d52bc93 (patch)
treeca6c2144d884f4bc76a1d81aba36d2be90323e34 /sysvipc
parentc7aec4beb13f125948884d80158f11c34239c61f (diff)
downloadglibc-0f5b71850e7ae2a4fefade72c73556166d52bc93.tar.gz
glibc-0f5b71850e7ae2a4fefade72c73556166d52bc93.tar.xz
glibc-0f5b71850e7ae2a4fefade72c73556166d52bc93.zip
Remove __ASSUME_COMPLETE_READV_WRITEV.
This patch removes the __ASSUME_COMPLETE_READV_WRITEV
kernel-features.h macro, now that it can be unconditionally assumed to
be true.  (The relevant kernel feature was added some time between 2.0
and 2.2, and this macro is only used in sysdeps/unix/sysv/linux/.)

Tested x86_64 that the disassembly of installed shared libraries is
unchanged by this patch.

	* sysdeps/unix/sysv/linux/kernel-features.h
	(__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
	* sysdeps/unix/sysv/linux/readv.c: Do not include
	<kernel-features.h>.
	[!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
	[!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
	(__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
	unconditional.
	(__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
	conditional code.
	* sysdeps/unix/sysv/linux/writev.c: Do not include
	<kernel-features.h>.
	[!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
	[!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
	(__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
	unconditional.
	(__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
	conditional code.
Diffstat (limited to 'sysvipc')
0 files changed, 0 insertions, 0 deletions