about summary refs log tree commit diff
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
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.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 25992b6a94..fdacf462c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
 2008-07-25  Ulrich Drepper  <drepper@redhat.com>
 
-	* sysdeps/unix/sysv/linux/kernel-features.h: IA-64 has the new
-	syscalls, too.
+	* sysdeps/unix/sysv/linux/kernel-features.h: IA-64 and SPARC have
+	the new syscalls, too.
 
 	* sysdeps/i386/i686/memcmp.S: Fix unwind information.
 	Reported by Paul Pluzhnikov <ppluzhnikov@google.com>.
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