Changeset e37f03e in rtems-libbsd


Ignore:
Timestamp:
Jul 26, 2018, 12:35:56 PM (15 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, 4a77611a223ea883fb548679b516d326a020d447
Children:
1372502
Parents:
6d9d7b1
Message:

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.

Location:
freebsd/sys
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/kern/kern_timeout.c

    r6d9d7b1 re37f03e  
    682682        c->c_arg = arg;
    683683        c->c_iflags |= CALLOUT_PENDING;
     684#ifndef __rtems__
    684685        c->c_iflags &= ~CALLOUT_PROCESSED;
     686#endif /* __rtems__ */
    685687        c->c_flags |= CALLOUT_ACTIVE;
    686688#ifndef __rtems__
  • freebsd/sys/sys/callout.h

    r6d9d7b1 re37f03e  
    4848#define CALLOUT_SHAREDLOCK      0x0020 /* callout lock held in shared mode */
    4949#define CALLOUT_DFRMIGRATION    0x0040 /* callout in deferred migration mode */
     50#ifndef __rtems__
    5051#define CALLOUT_PROCESSED       0x0080 /* callout in wheel or processing list? */
    51 #ifndef __rtems__
    5252#define CALLOUT_DIRECT          0x0100 /* allow exec from hw int context */
    5353#endif /* __rtems__ */
Note: See TracChangeset for help on using the changeset viewer.