diff options
author | Joseph Myers <joseph@codesourcery.com> | 2014-03-19 13:10:52 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2014-03-19 13:10:52 +0000 |
commit | b1115e916a2d94d85a110126f8781f0717269766 (patch) | |
tree | 98a07e2e9180a5abaca620c4ffde8bac4f8e0f36 /sysdeps/unix/sysv/linux/microblaze | |
parent | 7d375303f23668ebc7542fe8e331bd4eab749627 (diff) | |
download | glibc-b1115e916a2d94d85a110126f8781f0717269766.tar.gz glibc-b1115e916a2d94d85a110126f8781f0717269766.tar.xz glibc-b1115e916a2d94d85a110126f8781f0717269766.zip |
Fix __ASSUME_PREADV and __ASSUME_PWRITEV for Alpha and MicroBlaze (bug 16649).
Reviewing (for all architectures, with a baseline kernel version of 2.6.32) the kernel support for features for which __ASSUME_* macros would be affected by a move to 2.6.32 as minimum kernel version showed up that __ASSUME_PREADV and __ASSUME_PWRITEV were wrongly defined for MicroBlaze (despite the corresponding syscall table entries not being wired up in the kernel) and Alpha for 2.6.30 and above (although the support on Alpha was added in 2.6.33). This patch makes the kernel-features.h files undefine those macros for appropriate versions. [BZ #16649] * sysdeps/unix/sysv/linux/alpha/kernel-features.h [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine. [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise. * sysdeps/unix/sysv/linux/microblaze/kernel-features.h (__ASSUME_PREADV): Undefine. (__ASSUME_PWRITEV): Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/microblaze')
-rw-r--r-- | sysdeps/unix/sysv/linux/microblaze/kernel-features.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/microblaze/kernel-features.h b/sysdeps/unix/sysv/linux/microblaze/kernel-features.h index dfb83443c1..f9a61a9415 100644 --- a/sysdeps/unix/sysv/linux/microblaze/kernel-features.h +++ b/sysdeps/unix/sysv/linux/microblaze/kernel-features.h @@ -43,5 +43,8 @@ #include_next <kernel-features.h> -/* The MicroBlaze kernel does not support the pselect6 syscall. */ +/* The MicroBlaze kernel does not support the pselect6, preadv and + pwritev syscalls. */ #undef __ASSUME_PSELECT +#undef __ASSUME_PREADV +#undef __ASSUME_PWRITEV |