about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/kernel-features.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-07-26 05:44:56 +0000
committerUlrich Drepper <drepper@redhat.com>2008-07-26 05:44:56 +0000
commitbdd24a302efff7f6e7df9a0accbc382a12d803ff (patch)
tree7487de67f9288140c0d84b4b20827f4696227b60 /sysdeps/unix/sysv/linux/kernel-features.h
parentb5c0b5e4312135aa296de8dd96c0a1f854cda4c5 (diff)
downloadglibc-bdd24a302efff7f6e7df9a0accbc382a12d803ff.tar.gz
glibc-bdd24a302efff7f6e7df9a0accbc382a12d803ff.tar.xz
glibc-bdd24a302efff7f6e7df9a0accbc382a12d803ff.zip
* sysdeps/unix/sysv/linux/kernel-features.h: IA-64 and SPARC have
	the new syscalls, too.
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index cbcc918c13..74558cf65a 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -499,10 +499,10 @@
 #endif
 
 /* Support for various CLOEXEC and NONBLOCK flags was added for x86,
-   x86-64, PPC, and IA-64 in 2.6.27.  */
+   x86-64, PPC, IA-64, and SPARC in 2.6.27.  */
 #if __LINUX_KERNEL_VERSION >= 0x02061b \
     && (defined __i386__ || defined __x86_64__ || defined __powerpc__ \
-	|| defined __ia64__)
+	|| defined __ia64__ || defined __sparc__)
 # define __ASSUME_SOCK_CLOEXEC	1
 # define __ASSUME_IN_NONBLOCK	1
 # define __ASSUME_PACCEPT	1