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-10-29 14:12:44 -05:00
committed by Joel Sherrill
parent c5986a5520
commit a678d1a99c

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 ) {