Add missing () around macro argument in cv_waitq_empty()

Submitted by:	Harti Brandt <brandt@fokus.gmd.de>
This commit is contained in:
Poul-Henning Kamp 2001-07-17 08:25:24 +00:00
parent 7b9786edfb
commit dd8efa4aa4

View File

@ -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 */