wok-current diff catalyst/stuff/sema_init.patch @ rev 9374

Up: freeradius to 2.1.10.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 24 20:58:11 2011 +0000 (2011-03-24)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/catalyst/stuff/sema_init.patch	Thu Mar 24 20:58:11 2011 +0000
     1.3 @@ -0,0 +1,12 @@
     1.4 +diff -Naur orig/common/lib/modules/fglrx/build_mod/firegl_public.c final/common/lib/modules/fglrx/build_mod/firegl_public.c
     1.5 +--- orig/common/lib/modules/fglrx/build_mod/firegl_public.c	2010-09-22 03:15:33.000000000 -0400
     1.6 ++++ final/common/lib/modules/fglrx/build_mod/firegl_public.c	2010-11-01 23:00:32.672955001 -0400
     1.7 +@@ -5094,7 +5094,7 @@
     1.8 + unsigned int ATI_API_CALL KAS_Mutex_Initialize(void* hMutex)
     1.9 + {
    1.10 +     kasMutex_t* mutex_obj = (kasMutex_t*)hMutex;
    1.11 +-    init_MUTEX(&(mutex_obj->mutex));
    1.12 ++    sema_init(&(mutex_obj->mutex),1);
    1.13 +     return 1;
    1.14 + }
    1.15 +