about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-04-18 02:37:43 +0000
committerUlrich Drepper <drepper@redhat.com>2009-04-18 02:37:43 +0000
commit11cad88ce95ca6e40713dffe8bcacc1baec77b6d (patch)
tree10a58d575c3ad3bf8085ab9f77523e40362410b2 /sysdeps
parent571ac26f69c319b84f8191b38e5307d0ddf6174c (diff)
downloadglibc-11cad88ce95ca6e40713dffe8bcacc1baec77b6d.tar.gz
glibc-11cad88ce95ca6e40713dffe8bcacc1baec77b6d.tar.xz
glibc-11cad88ce95ca6e40713dffe8bcacc1baec77b6d.zip
* sysdeps/unix/sysv/linux/kernel-features.h: All supported
	architectures have preadv/pwritev in 2.6.30.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index 2fa8524db9..97725e7291 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -531,9 +531,7 @@
 #endif
 
 /* Support for preadv and pwritev was added in 2.6.30.  */
-#if __LINUX_KERNEL_VERSION >= 0x02061e \
-    && (defined __i386__ || defined __x86_64__ || defined __powerpc__ \
-	|| defined __ia64__ || defined __sparc__ && defined __sh__)
+#if __LINUX_KERNEL_VERSION >= 0x02061e
 # define __ASSUME_PREADV	1
 # define __ASSUME_PWRITEV	1
 #endif