]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Assume pselect6 and ppoll on ARM for kernels 2.6.32 and later.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 19 Nov 2009 16:36:58 +0000 (16:36 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 19 Nov 2009 16:36:58 +0000 (16:36 +0000)
ChangeLog.arm
sysdeps/unix/sysv/linux/arm/kernel-features.h

index a3b558b40b2c108ad10f85b237280021af3532fd..e095c22c76934cb1f3dfa9e1b6ed99f9fb5af4be 100644 (file)
@@ -1,3 +1,8 @@
+2009-11-19  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_PSELECT,
+       __ASSUME_PPOLL): Don't undefine for kernel 2.6.32 and later.
+
 2009-11-18  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Change misleading
index 1b0ab63380f729f35926cc8a23c42f05f1e75f3a..3996ae9c13b59ab4ccc8eb16dcdd025edb29d0f1 100644 (file)
@@ -59,6 +59,8 @@
 
 #include_next <kernel-features.h>
 
-/* These syscalls are not implemented yet for ARM.  */
-#undef __ASSUME_PSELECT
-#undef __ASSUME_PPOLL
+/* Support for pselect6, ppoll and epoll_pwait was added in 2.6.32.  */
+#if __LINUX_KERNEL_VERSION < 0x020620
+# undef __ASSUME_PSELECT
+# undef __ASSUME_PPOLL
+#endif