Fix the build and fix style.

Pointy-hat to:	davide
This commit is contained in:
Davide Italiano 2013-08-23 14:40:17 +00:00
parent 05869c0ea7
commit 286026fc85

View File

@ -71,8 +71,8 @@ void _callout_init_lock(struct callout *, struct lock_object *, int);
#define callout_init_mtx(c, mtx, flags) \
_callout_init_lock((c), ((mtx) != NULL) ? &(mtx)->lock_object : \
NULL, (flags))
#define callout_init_rm(c, rm, flags)
_callout_init_lock((c), ((rm != NULL) ? &(rm)->lock_object : \
#define callout_init_rm(c, rm, flags) \
_callout_init_lock((c), ((rm != NULL) ? &(rm)->lock_object : \
NULL, (flags))
#define callout_init_rw(c, rw, flags) \
_callout_init_lock((c), ((rw) != NULL) ? &(rw)->lock_object : \