mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 13:08:35 +08:00
Make sure CALLOUT_PROCESSED is not used
This flag is only used in combination with the callout expire list, which we do not use in libbsd.
This commit is contained in:
@@ -681,7 +681,9 @@ callout_cc_add(struct callout *c, struct callout_cpu *cc,
|
||||
sbt = cc->cc_lastscan;
|
||||
c->c_arg = arg;
|
||||
c->c_iflags |= CALLOUT_PENDING;
|
||||
#ifndef __rtems__
|
||||
c->c_iflags &= ~CALLOUT_PROCESSED;
|
||||
#endif /* __rtems__ */
|
||||
c->c_flags |= CALLOUT_ACTIVE;
|
||||
#ifndef __rtems__
|
||||
if (flags & C_DIRECT_EXEC)
|
||||
|
Reference in New Issue
Block a user