Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 149757 Details for
Bug 217030
[HPPA] sys-kernel/gentoo-sources-2.6.24-r4 and vanilla-sources-2.6.24.4 fail to boot
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
futex special case cmpchg patch from mainline
futex_cmpxchg_inatomic_impl_check.patch (text/plain), 879 bytes, created by
Mike Pagano
on 2008-04-14 23:49:30 UTC
(
hide
)
Description:
futex special case cmpchg patch from mainline
Filename:
MIME Type:
Creator:
Mike Pagano
Created:
2008-04-14 23:49:30 UTC
Size:
879 bytes
patch
obsolete
>c20a84c91048c76c1379011c96b1a5cee5c7d9a0 > include/asm-parisc/futex.h | 10 ++++++++-- > 1 files changed, 8 insertions(+), 2 deletions(-) > >diff --git a/include/asm-parisc/futex.h b/include/asm-parisc/futex.h >index dbee6e6..fdc6d05 100644 >--- a/include/asm-parisc/futex.h >+++ b/include/asm-parisc/futex.h >@@ -56,6 +56,12 @@ futex_atomic_cmpxchg_inatomic(int __user *uaddr, int oldval, int newval) > int err = 0; > int uval; > >+ /* futex.c wants to do a cmpxchg_inatomic on kernel NULL, which is >+ * our gateway page, and causes no end of trouble... >+ */ >+ if (segment_eq(KERNEL_DS, get_fs()) && !uaddr) >+ return -EFAULT; >+ > if (!access_ok(VERIFY_WRITE, uaddr, sizeof(int))) > return -EFAULT; > >@@ -67,5 +73,5 @@ futex_atomic_cmpxchg_inatomic(int __user *uaddr, int oldval, int newval) > return uval; > } > >-#endif >-#endif >+#endif /*__KERNEL__*/ >+#endif /*_ASM_PARISC_FUTEX_H*/
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 217030
: 149757