about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/kernel-features.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-06-20 20:04:33 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-06-20 20:04:33 +0000
commit7fd00f998042e04038619ddd4ec78a4e114217b5 (patch)
tree0cee98cd0c08ec913569538342b0b19afc95dea3 /sysdeps/unix/sysv/linux/kernel-features.h
parent4a103975c4c4929455d60224101013888640cd2f (diff)
downloadglibc-7fd00f998042e04038619ddd4ec78a4e114217b5.tar.gz
glibc-7fd00f998042e04038619ddd4ec78a4e114217b5.tar.xz
glibc-7fd00f998042e04038619ddd4ec78a4e114217b5.zip
Remove __ASSUME_F_GETOWN_EX.
This patch removes __ASSUME_F_GETOWN_EX now it can be assumed to be
true unconditionally.

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

	* sysdeps/unix/sysv/linux/kernel-features.h
	(__ASSUME_F_GETOWN_EX): Remove macro.
	* sysdeps/unix/sysv/linux/fcntl.c: Do not include
	<kernel-features.h>.
	(miss_F_GETOWN_EX): Remove variable or macro.
	(do_fcntl): Do not check miss_F_GETOWN_EX.
	(do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index 80655e0162..b39b295c9c 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -173,9 +173,6 @@
 # define __ASSUME_REQUEUE_PI	1
 #endif
 
-/* Support for F_GETOWN_EX was introduced in 2.6.32.  */
-#define __ASSUME_F_GETOWN_EX	1
-
 /* Support for recvmmsg functionality was added in 2.6.33.  The macros
    defined correspond to those for accept4.  */
 #if __LINUX_KERNEL_VERSION >= 0x020621 && defined __ASSUME_SOCKETCALL