mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
Fixed syntax error by recent changes to the queue macros.
This commit is contained in:
parent
e4f980d3e4
commit
3ce6f1bf50
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=33841
1 changed files with 3 additions and 3 deletions
|
@ -64,7 +64,7 @@ DEV##_init_ccbque(count) \
|
|||
int count; \
|
||||
{ \
|
||||
if (CCBTYPE##que.maxccb == 0) \
|
||||
TAILQ_INIT(&CCBTYPE##que.CCBTYPE##tab) \
|
||||
TAILQ_INIT(&CCBTYPE##que.CCBTYPE##tab); \
|
||||
CCBTYPE##que.maxccb += count; \
|
||||
} \
|
||||
\
|
||||
|
@ -82,7 +82,7 @@ again: \
|
|||
cb = CCBTYPE##que.CCBTYPE##tab.tqh_first; \
|
||||
if (cb != NULL) \
|
||||
{ \
|
||||
TAILQ_REMOVE(&CCBTYPE##que.CCBTYPE##tab, cb, CHAIN)\
|
||||
TAILQ_REMOVE(&CCBTYPE##que.CCBTYPE##tab, cb, CHAIN);\
|
||||
goto out; \
|
||||
} \
|
||||
else \
|
||||
|
@ -116,7 +116,7 @@ DEV##_free_ccb(cb) \
|
|||
{ \
|
||||
int s = splbio(); \
|
||||
\
|
||||
TAILQ_INSERT_TAIL(&CCBTYPE##que.CCBTYPE##tab, cb, CHAIN) \
|
||||
TAILQ_INSERT_TAIL(&CCBTYPE##que.CCBTYPE##tab, cb, CHAIN); \
|
||||
CCBTYPE##que.count --; \
|
||||
\
|
||||
if (CCBTYPE##que.flags & CCB_MWANTED) \
|
||||
|
|
Loading…
Reference in a new issue