Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 274059 Details for
Bug 368081
x11-drivers/ati-drivers-11.5 fail with kernel 2.6.39 (CONFIG_BKL)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch3
07-2.6.39-support.diff (text/plain), 1.28 KB, created by
Sergey Dulko
on 2011-05-20 04:47:11 UTC
(
hide
)
Description:
patch3
Filename:
MIME Type:
Creator:
Sergey Dulko
Created:
2011-05-20 04:47:11 UTC
Size:
1.28 KB
patch
obsolete
>Description: Add Linux 2.6.39 support > <linux/spinlock_types.h> had the following comment until 2.6.38: > . > /* > * SPIN_LOCK_UNLOCKED defeats lockdep state tracking and is hence > * deprecated. > * Please use DEFINE_SPINLOCK() or __SPIN_LOCK_UNLOCKED() as > * appropriate. > */ > #define SPIN_LOCK_UNLOCKED __SPIN_LOCK_UNLOCKED(old_style_spin_init) > . > This definition got removed in 2.6.39. Restore it locally until it gets fixed > upstream. >Author: Miguel Colon <debian.micove@gmail.com> >Forwarded: no >Last-Update: 2011-03-30 > >diff -Naur fglrx-driver-11-4.orig/common/lib/modules/fglrx/build_mod/firegl_public.c fglrx-driver-11-4/common/lib/modules/fglrx/build_mod/firegl_public.c >--- fglrx-driver-11-4.orig/common/lib/modules/fglrx/build_mod/firegl_public.c 2011-04-27 21:48:43.000000000 +0200 >+++ fglrx-driver-11-4/common/lib/modules/fglrx/build_mod/firegl_public.c 2011-04-27 21:49:36.000000000 +0200 >@@ -1060,7 +1060,12 @@ > dev->pubdev.signature = FGL_DEVICE_SIGNATURE; > > for (i = 0; i < __KE_MAX_SPINLOCKS; i++) >+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,39) > dev->spinlock[i] = SPIN_LOCK_UNLOCKED; >+#else >+ dev->spinlock[i] = __SPIN_LOCK_UNLOCKED(old_style_spin_init); >+#endif >+ > > for (i=0; i < __KE_MAX_SEMAPHORES; i++) > sema_init(&dev->struct_sem[i], 1);
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 368081
:
274055
|
274057
| 274059