diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2013-12-04 01:35:01 +0100 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2013-12-10 00:15:41 +0100 |
commit | 2ea296002440d0ae34cdd87b696c2668ff26b249 (patch) | |
tree | 373cfac915a37d65c326f6fe66bea54705b21d88 /ports/sysdeps | |
parent | 5fc273b084b5dd30ca9442b8e2da4e362a60c19a (diff) | |
download | glibc-2ea296002440d0ae34cdd87b696c2668ff26b249.tar.gz |
m68k: don't assume PI futexes before 3.10
Diffstat (limited to 'ports/sysdeps')
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h | 6 |
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 |