diff options
Diffstat (limited to 'cpukit/rtems/src/ratemoncancel.c')
-rw-r--r-- | cpukit/rtems/src/ratemoncancel.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/rtems/src/ratemoncancel.c b/cpukit/rtems/src/ratemoncancel.c index d9b5dee6ea..9f993f2cdf 100644 --- a/cpukit/rtems/src/ratemoncancel.c +++ b/cpukit/rtems/src/ratemoncancel.c @@ -40,7 +40,11 @@ rtems_status_code rtems_rate_monotonic_cancel( } (void) _Watchdog_Remove( &the_period->Timer ); the_period->state = RATE_MONOTONIC_INACTIVE; - _Scheduler_Release_job(the_period->owner, 0); + _Scheduler_Release_job( + _Scheduler_Get( the_period->owner ), + the_period->owner, + 0 + ); _Objects_Put( &the_period->Object ); return RTEMS_SUCCESSFUL; |