diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-04-14 18:31:03 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-04-14 18:31:03 +0000 |
commit | b8a3bd82560761a3870d0effeabc5cdc149d60f6 (patch) | |
tree | ee1de8c1b4ca9919bac093e45c460fe913d4b56f | |
parent | 84aa52d7e9f9a70d6f011579ab1206d6d0bbe1af (diff) | |
download | glibc-b8a3bd82560761a3870d0effeabc5cdc149d60f6.tar.gz glibc-b8a3bd82560761a3870d0effeabc5cdc149d60f6.tar.xz glibc-b8a3bd82560761a3870d0effeabc5cdc149d60f6.zip |
* sysdeps/unix/sysv/linux/kernel-features.h: SH also has
preadv/pwritev.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/kernel-features.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 283f49bb59..78b68717e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-04-14 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/unix/sysv/linux/kernel-features.h: SH also has + preadv/pwritev. + 2009-04-13 Ulrich Drepper <drepper@redhat.com> * sysdeps/x86-64/strrchr.S: New file. diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index 5478ce670a..2fa8524db9 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -533,7 +533,7 @@ /* 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 __ia64__ || defined __sparc__ && defined __sh__) # define __ASSUME_PREADV 1 # define __ASSUME_PWRITEV 1 #endif |