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 + + * sysdeps/unix/sysv/linux/m68k/kernel-features.h + (__ASSUME_REQUEUE_PI, __ASSUME_SET_ROBUST_LIST): Undefine before + 3.10. + 2013-11-28 Joseph Myers * 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