summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/ratemonperiod.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-06-03 16:27:53 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-06-23 09:13:00 +0200
commit92635cb36d7af890c4fc76ac8323b79936001ddd (patch)
tree19c316dad30d9d84727f54b5531a9e09d4921be4 /cpukit/rtems/src/ratemonperiod.c
parentscore: Use default get/set affinity operation (diff)
downloadrtems-92635cb36d7af890c4fc76ac8323b79936001ddd.tar.bz2
score: Remove scheduler parameter from most ops
Remove the scheduler parameter from most high level scheduler operations like - _Scheduler_Block(), - _Scheduler_Unblock(), - _Scheduler_Change_priority(), - _Scheduler_Update_priority(), - _Scheduler_Release_job(), and - _Scheduler_Yield(). This simplifies the scheduler operations usage.
Diffstat (limited to 'cpukit/rtems/src/ratemonperiod.c')
-rw-r--r--cpukit/rtems/src/ratemonperiod.c12
1 files changed, 2 insertions, 10 deletions
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;
}