summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-04-09 18:52:57 +0000
committerUlrich Drepper <drepper@redhat.com>2009-04-09 18:52:57 +0000
commit28b2771a4bf6f04197da6d5081f7330b54a2ce91 (patch)
tree46279058e112902a207094e9ba57d7d432d5ccd1
parentbb066545063246d6df186f5a5a61303c58c6547d (diff)
downloadglibc-28b2771a4bf6f04197da6d5081f7330b54a2ce91.tar.gz
glibc-28b2771a4bf6f04197da6d5081f7330b54a2ce91.tar.xz
glibc-28b2771a4bf6f04197da6d5081f7330b54a2ce91.zip
* sysdeps/unix/sysv/linux/kernel-features.h: SPARC and IA64 also
	have preadv/pwritev in 2.6.30.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 691649d4b6..f3622bb627 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-04-09  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/unix/sysv/linux/kernel-features.h: SPARC and IA64 also
+	have preadv/pwritev in 2.6.30.
+
 2009-04-08  Ulrich Drepper  <drepper@redhat.com>
 
 	* malloc/malloc.c (malloc_info): New function.
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index 5f1ffdb9c5..5478ce670a 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -532,7 +532,8 @@
 
 /* Support for preadv and pwritev was added in 2.6.30.  */
 #if __LINUX_KERNEL_VERSION >= 0x02061e \
-    && (defined __i386__ || defined __x86_64__ || defined __powerpc__)
+    && (defined __i386__ || defined __x86_64__ || defined __powerpc__ \
+	|| defined __ia64__ || defined __sparc__)
 # define __ASSUME_PREADV	1
 # define __ASSUME_PWRITEV	1
 #endif