Skip to content

Commit

Permalink
* sysdeps/unix/sysv/linux/kernel-features.h: SPARC and IA64 also
Browse files Browse the repository at this point in the history
	have preadv/pwritev in 2.6.30.
  • Loading branch information
Ulrich Drepper committed Apr 9, 2009
1 parent bb06654 commit 28b2771
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
3 changes: 2 additions & 1 deletion sysdeps/unix/sysv/linux/kernel-features.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 28b2771

Please sign in to comment.