Changeset 34db8ec in rtems for cpukit/rtems/src/timerserver.c


Ignore:
Timestamp:
Aug 27, 2014, 12:06:10 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
7d3a345
Parents:
614a088
Message:

rtems: SMP fix for timer server

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/src/timerserver.c

    r614a088 r34db8ec  
    514514    _priority,            /* create with priority 1 since 0 is illegal */
    515515    stack_size,           /* let user specify stack size */
    516     RTEMS_NO_PREEMPT,     /* no preempt is like an interrupt */
     516    rtems_configuration_is_smp_enabled() ?
     517      RTEMS_DEFAULT_MODES : /* no preempt is not supported for SMP */
     518      RTEMS_NO_PREEMPT,   /* no preempt is like an interrupt */
    517519                          /* user may want floating point but we need */
    518520                          /*   system task specified for 0 priority */
Note: See TracChangeset for help on using the changeset viewer.