From 3dd67dd16e90bf1ec62c991f824116ec5b5c625f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 14 Jun 2017 07:29:14 +0200 Subject: score: Remove rtems_ada_self This task variable is superfluous since we use thread-local storage now. Update #2289. --- cpukit/score/src/threaddispatch.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'cpukit/score/src') diff --git a/cpukit/score/src/threaddispatch.c b/cpukit/score/src/threaddispatch.c index a68e3c1c6e..39cf80d243 100644 --- a/cpukit/score/src/threaddispatch.c +++ b/cpukit/score/src/threaddispatch.c @@ -30,10 +30,6 @@ #include #include -#if __RTEMS_ADA__ -void *rtems_ada_self; -#endif - #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) Thread_Control *_Thread_Allocated_fp; #endif @@ -211,10 +207,6 @@ void _Thread_Do_dispatch( Per_CPU_Control *cpu_self, ISR_Level level ) * Since heir and executing are not the same, we need to do a real * context switch. */ -#if __RTEMS_ADA__ - executing->rtems_ada_self = rtems_ada_self; - rtems_ada_self = heir->rtems_ada_self; -#endif if ( heir->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE ) heir->cpu_time_budget = rtems_configuration_get_ticks_per_timeslice(); -- cgit v1.2.3