summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/rtems/src')
-rw-r--r--cpukit/rtems/src/ratemoncancel.c6
-rw-r--r--cpukit/rtems/src/ratemondelete.c6
-rw-r--r--cpukit/rtems/src/ratemonperiod.c12
3 files changed, 4 insertions, 20 deletions
diff --git a/cpukit/rtems/src/ratemoncancel.c b/cpukit/rtems/src/ratemoncancel.c
index 9f993f2cdf..d4a9102955 100644
--- a/cpukit/rtems/src/ratemoncancel.c
+++ b/cpukit/rtems/src/ratemoncancel.c
@@ -40,11 +40,7 @@ rtems_status_code rtems_rate_monotonic_cancel(
}
(void) _Watchdog_Remove( &the_period->Timer );
the_period->state = RATE_MONOTONIC_INACTIVE;
- _Scheduler_Release_job(
- _Scheduler_Get( the_period->owner ),
- the_period->owner,
- 0
- );
+ _Scheduler_Release_job( the_period->owner, 0 );
_Objects_Put( &the_period->Object );
return RTEMS_SUCCESSFUL;
diff --git a/cpukit/rtems/src/ratemondelete.c b/cpukit/rtems/src/ratemondelete.c
index ee0b23682f..971ad8ef3d 100644
--- a/cpukit/rtems/src/ratemondelete.c
+++ b/cpukit/rtems/src/ratemondelete.c
@@ -35,11 +35,7 @@ rtems_status_code rtems_rate_monotonic_delete(
switch ( location ) {
case OBJECTS_LOCAL:
- _Scheduler_Release_job(
- _Scheduler_Get( the_period->owner ),
- the_period->owner,
- 0
- );
+ _Scheduler_Release_job( the_period->owner, 0 );
_Objects_Close( &_Rate_monotonic_Information, &the_period->Object );
(void) _Watchdog_Remove( &the_period->Timer );
the_period->state = RATE_MONOTONIC_INACTIVE;
diff --git a/cpukit/rtems/src/ratemonperiod.c b/cpukit/rtems/src/ratemonperiod.c
index 9d31813353..ca278fb022 100644
--- a/cpukit/rtems/src/ratemonperiod.c
+++ b/cpukit/rtems/src/ratemonperiod.c
@@ -144,11 +144,7 @@ void _Rate_monotonic_Initiate_statistics(
}
#endif
- _Scheduler_Release_job(
- _Scheduler_Get( the_period->owner ),
- the_period->owner,
- the_period->next_length
- );
+ _Scheduler_Release_job( the_period->owner, the_period->next_length );
}
static void _Rate_monotonic_Update_statistics(
@@ -344,11 +340,7 @@ rtems_status_code rtems_rate_monotonic_period(
the_period->next_length = length;
_Watchdog_Insert_ticks( &the_period->Timer, length );
- _Scheduler_Release_job(
- _Scheduler_Get( the_period->owner ),
- the_period->owner,
- the_period->next_length
- );
+ _Scheduler_Release_job( the_period->owner, the_period->next_length );
_Objects_Put( &the_period->Object );
return RTEMS_TIMEOUT;
}