about summary refs log tree commit diff
diff options
context:
space:
mode:
-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