wok-current view catalyst/stuff/sema_init.patch @ rev 9216
open-iscsi: patch usr/iscsi_sysfs.c
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 11 14:52:45 2011 +0100 (2011-03-11) |
parents | |
children |
line source
1 diff -Naur orig/common/lib/modules/fglrx/build_mod/firegl_public.c final/common/lib/modules/fglrx/build_mod/firegl_public.c
2 --- orig/common/lib/modules/fglrx/build_mod/firegl_public.c 2010-09-22 03:15:33.000000000 -0400
3 +++ final/common/lib/modules/fglrx/build_mod/firegl_public.c 2010-11-01 23:00:32.672955001 -0400
4 @@ -5094,7 +5094,7 @@
5 unsigned int ATI_API_CALL KAS_Mutex_Initialize(void* hMutex)
6 {
7 kasMutex_t* mutex_obj = (kasMutex_t*)hMutex;
8 - init_MUTEX(&(mutex_obj->mutex));
9 + sema_init(&(mutex_obj->mutex),1);
10 return 1;
11 }