summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/ratemoncreate.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/rtems/src/ratemoncreate.c')
-rw-r--r--cpukit/rtems/src/ratemoncreate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/rtems/src/ratemoncreate.c b/cpukit/rtems/src/ratemoncreate.c
index a86c6a1eeb..12327295ac 100644
--- a/cpukit/rtems/src/ratemoncreate.c
+++ b/cpukit/rtems/src/ratemoncreate.c
@@ -63,6 +63,8 @@ rtems_status_code rtems_rate_monotonic_create(
}
_ISR_lock_Initialize( &the_period->Lock, "Rate Monotonic Period" );
+ _Priority_Node_initialize( &the_period->Priority, 0 );
+ _Priority_Node_set_inactive( &the_period->Priority );
the_period->owner = _Thread_Get_executing();
the_period->state = RATE_MONOTONIC_INACTIVE;