m68k: don't assume PI futexes before 3.10
authorAndreas Schwab <schwab@linux-m68k.org>
Wed, 4 Dec 2013 00:35:01 +0000 (01:35 +0100)
committerAndreas Schwab <schwab@linux-m68k.org>
Mon, 9 Dec 2013 23:15:41 +0000 (00:15 +0100)
ports/ChangeLog.m68k
ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h

index 55a8ee4..bbb2aab 100644 (file)
@@ -1,3 +1,9 @@
+2013-12-10  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * sysdeps/unix/sysv/linux/m68k/kernel-features.h
+       (__ASSUME_REQUEUE_PI, __ASSUME_SET_ROBUST_LIST): Undefine before
+       3.10.
+
 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/m68k/fpu/fegetround.c (fegetround): Use libm_hidden_def.
index 4203780..e9763cb 100644 (file)
@@ -47,3 +47,9 @@
 # undef __ASSUME_PSELECT
 # undef __ASSUME_PPOLL
 #endif
+
+/* No support for PI futexes or robust mutexes before 3.10 for m68k.  */
+#if __LINUX_KERNEL_VERSION < 0x030a00
+# undef __ASSUME_REQUEUE_PI
+# undef __ASSUME_SET_ROBUST_LIST
+#endif