Update MicroBlaze kernel-features.h for syscalls added in 3.15

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Update MicroBlaze kernel-features.h for syscalls added in 3.15

Joseph Myers
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  <[hidden email]>

        * 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.

diff --git a/sysdeps/unix/sysv/linux/microblaze/kernel-features.h b/sysdeps/unix/sysv/linux/microblaze/kernel-features.h
index 066c12d..34b0521 100644
--- a/sysdeps/unix/sysv/linux/microblaze/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/microblaze/kernel-features.h
@@ -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

--
Joseph S. Myers
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Ping Re: Update MicroBlaze kernel-features.h for syscalls added in 3.15

Joseph Myers
Ping.  This patch
<https://sourceware.org/ml/libc-alpha/2014-06/msg00414.html> is pending
review.

--
Joseph S. Myers
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Ping^2 Re: Update MicroBlaze kernel-features.h for syscalls added in 3.15

Joseph Myers
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.

--
Joseph S. Myers
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Ping^2 Re: Update MicroBlaze kernel-features.h for syscalls added in 3.15

David Holsgrove
Hi Joseph,

On 1 July 2014 01:17, Joseph S. Myers <[hidden email]> 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
> [hidden email]