Sourceware Bugzilla – Attachment 3777 Details for
Bug 9894
Support for PI futexes wrongly marked as introduced in 2.6.18
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch for main architectures
robust_pi_futexes.diff (text/plain), 2.23 KB, created by
Aurelien Jarno
on 2009-02-27 15:08:19 UTC
(
hide
)
Description:
Updated patch for main architectures
Filename:
MIME Type:
Creator:
Aurelien Jarno
Created:
2009-02-27 15:08:19 UTC
Size:
2.23 KB
patch
obsolete
>2009-09-27 Aurelien Jarno <aurelien@aurel32.net> > > * sysdeps/unix/sysv/linux/kernel-features.h > (__ASSUME_SET_ROBUST_LIST): Update per-arch conditions when > each feature was introduced. (__ASSUME_FUTEX_LOCK_PI): Ditto. > >diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h >index 29afe27..edbe250 100644 >--- a/sysdeps/unix/sysv/linux/kernel-features.h >+++ b/sysdeps/unix/sysv/linux/kernel-features.h >@@ -454,16 +454,28 @@ > # define __ASSUME_ATFCTS 1 > #endif > >-/* Support for inter-process robust mutexes was added in 2.6.17. */ >-#if __LINUX_KERNEL_VERSION >= 0x020611 \ >- && ((!defined __sh__ && !defined __alpha__) \ >- || (__LINUX_KERNEL_VERSION >= 0x020613 && defined __sh__) \ >- || (__LINUX_KERNEL_VERSION >= 0x020617 && defined __alpha__)) >+/* Support for inter-process robust mutexes was added in 2.6.17 on i386, >+ powerpc and s390. It was added in 2.6.18 on s390 and sparc64, 2.6.19 on >+ ia64 and 2.6.23 on sh. */ >+#if (__LINUX_KERNEL_VERSION >= 0x020611 && defined __i386__) \ >+ || (__LINUX_KERNEL_VERSION >= 0x020611 && defined __powerpc__) \ >+ || (__LINUX_KERNEL_VERSION >= 0x020612 && defined __s390__) \ >+ || (__LINUX_KERNEL_VERSION >= 0x020612 && defined __sparc__ && __arch64__) \ >+ || (__LINUX_KERNEL_VERSION >= 0x020611 && defined __x86_64__) \ >+ || (__LINUX_KERNEL_VERSION >= 0x020613 && defined __ia64__) \ >+ || (__LINUX_KERNEL_VERSION >= 0x020617 && defined __sh__) > # define __ASSUME_SET_ROBUST_LIST 1 > #endif > >-/* Support for PI futexes was added in 2.6.18. */ >-#if __LINUX_KERNEL_VERSION >= 0x020612 >+/* Support for PI futexes was added in 2.6.18 on i386, powerpc, s390, sparc64 >+ x86_64. It was added in 2.6.19 on ia64 and in 2.6.23 on sh. */ >+#if (__LINUX_KERNEL_VERSION >= 0x020612 && defined __i386__) \ >+ || (__LINUX_KERNEL_VERSION >= 0x020612 && defined __powerpc__) \ >+ || (__LINUX_KERNEL_VERSION >= 0x020612 && defined __s390__) \ >+ || (__LINUX_KERNEL_VERSION >= 0x020612 && defined __sparc__ && __arch64__) \ >+ || (__LINUX_KERNEL_VERSION >= 0x020612 && defined __x86_64__) \ >+ || (__LINUX_KERNEL_VERSION >= 0x020613 && defined __ia64__) \ >+ || (__LINUX_KERNEL_VERSION >= 0x020617 && defined __sh__) > # define __ASSUME_FUTEX_LOCK_PI 1 > #endif >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 9894
:
3764
|
3765
|
3766
|
3767
| 3777 |
3778
|
3779
|
3780