about summary refs log tree commit diff
path: root/ports/sysdeps/unix
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/sysdeps/unix
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/sysdeps/unix')
-rw-r--r--ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h6
1 files changed, 6 insertions, 0 deletions
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