Update MicroBlaze kernel-features.h for syscalls added in 3.15
Commit Message
Now that the MicroBlaze 3.15 kernel has the pselect6, preadv and
pwritev syscalls, this patch updates kernel-features.h so they are
assumed to be present for 3.15 and later kernels.
Not tested.
2014-06-17 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/microblaze/kernel-features.h
[__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
undefine.
[__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
[__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
Comments
Ping. This patch
<https://sourceware.org/ml/libc-alpha/2014-06/msg00414.html> is pending
review.
Ping^2 (last ping for this patch for 2.20). This patch
<https://sourceware.org/ml/libc-alpha/2014-06/msg00414.html> is still
pending review.
Hi Joseph,
On 1 July 2014 01:17, Joseph S. Myers <joseph@codesourcery.com> wrote:
> Ping^2 (last ping for this patch for 2.20). This patch
> <https://sourceware.org/ml/libc-alpha/2014-06/msg00414.html> is still
> pending review.
>
Thanks for this and sorry for delay - I went ahead and committed your
patch along with Roland's nptl changes.
thanks again,
David
> --
> Joseph S. Myers
> joseph@codesourcery.com
@@ -45,8 +45,10 @@
# undef __ASSUME_SET_ROBUST_LIST
#endif
-/* The MicroBlaze kernel does not support the pselect6, preadv and
- pwritev syscalls. */
-#undef __ASSUME_PSELECT
-#undef __ASSUME_PREADV
-#undef __ASSUME_PWRITEV
+/* Support for the pselect6, preadv and pwritev syscalls was added in
+ 3.15. */
+#if __LINUX_KERNEL_VERSION < 0x030f00
+# undef __ASSUME_PSELECT
+# undef __ASSUME_PREADV
+# undef __ASSUME_PWRITEV
+#endif