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:
parent
92f7db0fe9
commit
07a2df5d83
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user