diff options
author | Kinsey Moore <kinsey.moore@oarcorp.com> | 2021-10-29 14:12:44 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2021-11-01 08:38:59 -0500 |
commit | a678d1a99c66defb67017a365d2d66e9a47e6503 (patch) | |
tree | b6c39129dee6959d092d32ea466f96ad0fbdd454 | |
parent | testsuite: Add machine exception signal map test (diff) | |
download | rtems-a678d1a99c66defb67017a365d2d66e9a47e6503.tar.bz2 |
cpukit: Compare the function result
Compare the function result instead of the function pointer for non-SMP
builds.
-rw-r--r-- | cpukit/score/src/exceptionmapping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/exceptionmapping.c b/cpukit/score/src/exceptionmapping.c index 1baa047eb7..19f04cc31d 100644 --- a/cpukit/score/src/exceptionmapping.c +++ b/cpukit/score/src/exceptionmapping.c @@ -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 ) { |