[Pkg-fglrx-devel] Bug#609206: Bug#609206: fglrx-modules-dkms 2.6.37 support
Patrick Matthäi
pmatthaei at debian.org
Fri Jan 7 13:05:37 UTC 2011
Am 07.01.2011 12:25, schrieb Алексей Сорокин:
> 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;
> }
Thanks for it, I will include it in the next days!
More information about the Pkg-fglrx-devel
mailing list