wok-current view catalyst/stuff/sema_init.patch @ rev 9785

gen-init-cpio: fix build
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 12 15:15:03 2011 +0200 (2011-05-12)
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 }