From e785fbaae519e096e636e1dcea5a739dfead8c46 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 4 Apr 2014 13:58:26 +0200 Subject: score: Delete _Thread_Ticks_per_timeslice Use the Configuration instead. --- cpukit/score/src/threaddispatch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpukit/score/src/threaddispatch.c') diff --git a/cpukit/score/src/threaddispatch.c b/cpukit/score/src/threaddispatch.c index ae69a5c82f..40a2efbb82 100644 --- a/cpukit/score/src/threaddispatch.c +++ b/cpukit/score/src/threaddispatch.c @@ -28,6 +28,7 @@ #include #include #include +#include static Thread_Action *_Thread_Get_post_switch_action( Thread_Control *executing @@ -121,7 +122,7 @@ void _Thread_Dispatch( void ) rtems_ada_self = heir->rtems_ada_self; #endif if ( heir->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE ) - heir->cpu_time_budget = _Thread_Ticks_per_timeslice; + heir->cpu_time_budget = rtems_configuration_get_ticks_per_timeslice(); #if !defined( RTEMS_SMP ) _ISR_Enable( level ); -- cgit v1.2.3