[Pkg-fglrx-devel] Bug#620151: fglrx-modules-dkms Linux 2.6.39 support
Miguel Colon
debian.micove at gmail.com
Wed Mar 30 15:06:53 UTC 2011
Package: fglrx-modules-dkms
Version: 1:11-3-1
Severity: wishlist
Tags: patch
Hello:
<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. A possible solution is included
in the attached DEP-3 compliant patch.
The patch restores the missing define locally until it gets fixed
upstream by AMD.
I tested this patch with 2.6.38, 2.6.38.1 , 2.6.38.2 and 2.6.39-rc1
with fglrx 11.2-2 and 11.3-1 and all seems to work.
I removed the smp_lock.h part of the patch that I had made for 11-2
since it got included as the 06 patch in 11-3 and I was waiting for
the merge window for 2.6.39 to close. The smp_lock.h issue technically
only affected 2.6.39-rc0 and up since that commit got merged during
the 2.6.39 merge window that ended today.
Hope this helps,
Miguel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 07-2.6.39-support.diff
Type: text/x-patch
Size: 1117 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fglrx-devel/attachments/20110330/44a18b9c/attachment.bin>
More information about the Pkg-fglrx-devel
mailing list