From edbd43c6132ddb0644bd302c6017b52168e57857 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 4 Nov 2016 13:19:11 +0100 Subject: score: Prevent assignment to _Thread_Executing --- cpukit/score/include/rtems/score/percpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/include/rtems/score/percpu.h') diff --git a/cpukit/score/include/rtems/score/percpu.h b/cpukit/score/include/rtems/score/percpu.h index 3e0c348005..236cf6a979 100644 --- a/cpukit/score/include/rtems/score/percpu.h +++ b/cpukit/score/include/rtems/score/percpu.h @@ -682,7 +682,7 @@ bool _Per_CPU_State_wait_for_non_initial_state( #define _Thread_Heir \ _Per_CPU_Get()->heir #define _Thread_Executing \ - _Per_CPU_Get()->executing + _Per_CPU_Get_executing( _Per_CPU_Get() ) #define _ISR_Nest_level \ _Per_CPU_Get()->isr_nest_level #define _CPU_Interrupt_stack_low \ -- cgit v1.2.3