git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
f9677cc
)
Remove two unnecessary casts that prevented compilation on Linux 2.2.
author
Nickolai Zeldovich
<kolya@mit.edu>
Mon, 29 Jul 2002 23:48:39 +0000 (23:48 +0000)
committer
Nickolai Zeldovich
<kolya@mit.edu>
Mon, 29 Jul 2002 23:48:39 +0000 (23:48 +0000)
src/rx/LINUX/rx_kmutex.c
patch
|
blob
|
history
diff --git
a/src/rx/LINUX/rx_kmutex.c
b/src/rx/LINUX/rx_kmutex.c
index
1df1810
..
eecddc5
100644
(file)
--- 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();