mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
cpukit: Compare the function result
Compare the function result instead of the function pointer for non-SMP builds.
This commit is contained in:
committed by
Joel Sherrill
parent
c5986a5520
commit
a678d1a99c
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user