about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/microblaze/kernel-features.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/microblaze/kernel-features.h b/sysdeps/unix/sysv/linux/microblaze/kernel-features.h
index 066c12dd4a..34b0521ffa 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