diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/include/rtems/rtems/ratemondata.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/include/rtems/rtems/ratemondata.h b/cpukit/include/rtems/rtems/ratemondata.h index f35fa7eb61..700285c7b4 100644 --- a/cpukit/include/rtems/rtems/ratemondata.h +++ b/cpukit/include/rtems/rtems/ratemondata.h @@ -71,10 +71,12 @@ typedef struct { /** This field is the object management portion of a Period instance. */ Objects_Control Object; +#if defined(RTEMS_SMP) /** * @brief Protects the rate monotonic period state. */ - ISR_LOCK_MEMBER( Lock ) + ISR_lock_Control Lock; +#endif /** This is the timer used to provide the unblocking mechanism. */ Watchdog_Control Timer; |