Restore the two lines accidentally deleted that allow CALLOUT_DIRECT to be

specifed in the flags.

Thanks Mark Johnston for noticing this ;-o

MFC after:	3 days
This commit is contained in:
Randall Stewart 2015-04-13 23:06:13 +00:00
parent 92f7db0fe9
commit 07a2df5d83

View File

@ -591,6 +591,8 @@ callout_cc_add(struct callout *c, struct callout_cpu *cc,
c->c_iflags |= CALLOUT_PENDING;
c->c_iflags &= ~CALLOUT_PROCESSED;
c->c_flags |= CALLOUT_ACTIVE;
if (flags & C_DIRECT_EXEC)
c->c_flags |= CALLOUT_DIRECT;
c->c_func = func;
c->c_time = sbt;
c->c_precision = precision;