about summary refs log tree commit diff
path: root/ports
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2013-12-04 01:35:01 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2013-12-10 00:15:41 +0100
commit2ea296002440d0ae34cdd87b696c2668ff26b249 (patch)
tree373cfac915a37d65c326f6fe66bea54705b21d88 /ports
parent5fc273b084b5dd30ca9442b8e2da4e362a60c19a (diff)
downloadglibc-2ea296002440d0ae34cdd87b696c2668ff26b249.tar.gz
glibc-2ea296002440d0ae34cdd87b696c2668ff26b249.tar.xz
glibc-2ea296002440d0ae34cdd87b696c2668ff26b249.zip
m68k: don't assume PI futexes before 3.10
Diffstat (limited to 'ports')
-rw-r--r--ports/ChangeLog.m68k6
-rw-r--r--ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h6
2 files changed, 12 insertions, 0 deletions
diff --git a/ports/ChangeLog.m68k b/ports/ChangeLog.m68k
index 55a8ee46e5..bbb2aab0ad 100644
--- a/ports/ChangeLog.m68k
+++ b/ports/ChangeLog.m68k
@@ -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.
diff --git a/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h b/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h
index 4203780276..e9763cb1d2 100644
--- a/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h
+++ b/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h
@@ -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