cpukit: Compare the function result

Compare the function result instead of the function pointer for non-SMP
builds.
This commit is contained in:
Kinsey Moore
2021-11-01 08:38:59 -05:00
committed by Joel Sherrill
parent c5986a5520
commit a678d1a99c
+1 -1
View File
@@ -76,7 +76,7 @@ void _Exception_Raise_signal(
#ifdef RTEMS_SMP
system_up = ( _Per_CPU_Get_state( cpu_self ) == PER_CPU_STATE_UP );
#else
system_up = ( _System_state_Get == SYSTEM_STATE_UP );
system_up = ( _System_state_Get() == SYSTEM_STATE_UP );
#endif
if ( !system_up ) {