summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score/scheduler.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/include/rtems/score/scheduler.h')
-rw-r--r--cpukit/include/rtems/score/scheduler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/include/rtems/score/scheduler.h b/cpukit/include/rtems/score/scheduler.h
index 95b4414bea..55be638a8d 100644
--- a/cpukit/include/rtems/score/scheduler.h
+++ b/cpukit/include/rtems/score/scheduler.h
@@ -297,12 +297,12 @@ typedef struct {
* this structure at the begin of its context structure.
*/
typedef struct Scheduler_Context {
+#if defined(RTEMS_SMP)
/**
* @brief Lock to protect this scheduler instance.
*/
- ISR_LOCK_MEMBER( Lock )
+ ISR_lock_Control Lock;
-#if defined(RTEMS_SMP)
/**
* @brief The set of processors owned by this scheduler instance.
*/