summaryrefslogtreecommitdiff
path: root/x11-drivers/ati-userspace/files/ati-drivers-2.6.37.patch
blob: 75522b41a718ec98c5d27146d67e316997b1fd76 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- work.orig/common/lib/modules/fglrx/build_mod/firegl_public.c	2010-08-20 21:51:48.000000000 +0200
+++ work/common/lib/modules/fglrx/build_mod/firegl_public.c	2010-08-20 23:46:37.000000000 +0200
@@ -5094,7 +5094,7 @@
 unsigned int ATI_API_CALL KAS_Mutex_Initialize(void* hMutex)
 {
     kasMutex_t* mutex_obj = (kasMutex_t*)hMutex;
-    init_MUTEX(&(mutex_obj->mutex));
+    sema_init(&(mutex_obj->mutex),1);
     return 1;
 }