[Pkg-fglrx-devel] Bug#609206: fglrx-modules-dkms 2.6.37 support

Алексей Алексей
Fri Jan 7 11:25:03 UTC 2011


Package: fglrx-modules-dkms
Version: 1:10-12-1
Severity: wishlist
Tags: patch

fglrx DKMS does not installed on Linux Kernel 2.6.37

Here is the patch: http://paste.debian.net/103966/

And the quote:

*** fglrx-modules-dkms-orig/usr/src/fglrx-10-12/firegl_public.c	2011-01-07
14:04:04.000000000 +0300
--- fglrx-modules-dkms/usr/src/fglrx-10-12/firegl_public.c	2011-01-06
14:46:06.000000000 +0300
***************
*** 5117,5123 ****
--- 5117,5127 ----
  unsigned int ATI_API_CALL KAS_Mutex_Initialize(void* hMutex)
  {
      kasMutex_t* mutex_obj = (kasMutex_t*)hMutex;
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,37)
+     sema_init(&(mutex_obj->mutex),1);
+ #else
      init_MUTEX(&(mutex_obj->mutex));
+ #endif
      return 1;
  }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-fglrx-devel/attachments/20110107/2565fc24/attachment.htm>


More information about the Pkg-fglrx-devel mailing list