summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux
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 /sysdeps/unix/sysv/linux
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h3
1 files changed, 2 insertions, 1 deletions
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