diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-04-04 13:58:26 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-04-07 14:51:31 +0200 |
commit | e785fbaae519e096e636e1dcea5a739dfead8c46 (patch) | |
tree | a342b5128baa070ea05663afac1f358298edb2f1 /cpukit/rtems | |
parent | score: Delete _Thread_Maximum_extensions (diff) | |
download | rtems-e785fbaae519e096e636e1dcea5a739dfead8c46.tar.bz2 |
score: Delete _Thread_Ticks_per_timeslice
Use the Configuration instead.
Diffstat (limited to 'cpukit/rtems')
-rw-r--r-- | cpukit/rtems/src/taskmode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/rtems/src/taskmode.c b/cpukit/rtems/src/taskmode.c index 2bcbd1de33..eeb3e0fc7c 100644 --- a/cpukit/rtems/src/taskmode.c +++ b/cpukit/rtems/src/taskmode.c @@ -105,7 +105,8 @@ rtems_status_code rtems_task_mode( if ( mask & RTEMS_TIMESLICE_MASK ) { if ( _Modes_Is_timeslice(mode_set) ) { executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE; - executing->cpu_time_budget = _Thread_Ticks_per_timeslice; + executing->cpu_time_budget = + rtems_configuration_get_ticks_per_timeslice(); } else executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE; } |