aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-04-07 17:38:50 +0000
committerUlrich Drepper <drepper@redhat.com>2009-04-07 17:38:50 +0000
commit1a2ec17ba6dc3826855e3ad0897a87067bcdfcab (patch)
tree567d92feebf9a9919182238e2afe65bc988f0cdc /sysdeps/unix/sysv
parentc6807d38a11d67d6fc8a49040ce29dfe84ffe4ed (diff)
downloadglibc-1a2ec17ba6dc3826855e3ad0897a87067bcdfcab.tar
glibc-1a2ec17ba6dc3826855e3ad0897a87067bcdfcab.tar.gz
glibc-1a2ec17ba6dc3826855e3ad0897a87067bcdfcab.tar.bz2
glibc-1a2ec17ba6dc3826855e3ad0897a87067bcdfcab.zip
* sysdeps/unix/sysv/linux/kernel-features.h: Power also has
preadv/pwritev in 2.6.30.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index a640765b5c..5f1ffdb9c5 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -532,7 +532,7 @@
/* Support for preadv and pwritev was added in 2.6.30. */
#if __LINUX_KERNEL_VERSION >= 0x02061e \
- && (defined __i386__ || defined __x86_64__)
+ && (defined __i386__ || defined __x86_64__ || defined __powerpc__)
# define __ASSUME_PREADV 1
# define __ASSUME_PWRITEV 1
#endif