wok-undigest view catalyst/stuff/sema_init.patch @ rev 557
runcom: fix compile_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 11 13:27:20 2011 +0100 (2011-11-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 }