Add missing () around macro argument in cv_waitq_empty()
Submitted by: Harti Brandt <brandt@fokus.gmd.de>
This commit is contained in:
parent
7b9786edfb
commit
dd8efa4aa4
@ -63,7 +63,7 @@ void cv_broadcast(struct cv *cvp);
|
||||
|
||||
void cv_waitq_remove(struct proc *p);
|
||||
|
||||
#define cv_waitq_empty(cvp) (TAILQ_EMPTY(&cvp->cv_waitq))
|
||||
#define cv_waitq_empty(cvp) (TAILQ_EMPTY(&(cvp)->cv_waitq))
|
||||
#define cv_wmesg(cvp) ((cvp)->cv_description)
|
||||
|
||||
#endif /* _KERNEL */
|
||||
|
Loading…
Reference in New Issue
Block a user