X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Frx%2FLINUX%2Frx_kmutex.c;h=eecddc56cae0999a95355217f7adc8eb1d1de922;hp=1df1810997778e558fa735ef358b2c4400d03646;hb=e9a6a539449ff3144169aa8ca5fc38bab613ab53;hpb=f9677cc5d0025b4cef84bb1e24004a1bf7b6cb9b diff --git a/src/rx/LINUX/rx_kmutex.c b/src/rx/LINUX/rx_kmutex.c index 1df1810..eecddc5 100644 --- a/src/rx/LINUX/rx_kmutex.c +++ b/src/rx/LINUX/rx_kmutex.c @@ -75,7 +75,7 @@ int afs_cv_wait(afs_kcondvar_t *cv, afs_kmutex_t *l, int sigok) struct wait_queue wait = { current, NULL }; #endif - add_wait_queue((wait_queue_head_t *)cv, &wait); + add_wait_queue(cv, &wait); set_current_state(TASK_INTERRUPTIBLE); if (isAFSGlocked) AFS_GUNLOCK(); @@ -115,7 +115,7 @@ void afs_cv_timedwait(afs_kcondvar_t *cv, afs_kmutex_t *l, int waittime) struct wait_queue wait = { current, NULL }; #endif - add_wait_queue((wait_queue_head_t *)cv, &wait); + add_wait_queue(cv, &wait); set_current_state(TASK_INTERRUPTIBLE); if (isAFSGlocked) AFS_GUNLOCK();