diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-11-08 13:26:55 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-11-09 15:47:13 +0100 |
commit | 913a4adc88364266ea37a1d9d22bea76222b1475 (patch) | |
tree | 3595dc27d7a0d42f345286981598d86db2e5b006 | |
parent | 98ccf7df5fe25d68ee0681762f0e8133bff77961 (diff) |
testsuites/validation/tc-terminate.c
-rw-r--r-- | testsuites/validation/tc-terminate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuites/validation/tc-terminate.c b/testsuites/validation/tc-terminate.c index ae21d205cd..4ad4dfa3b7 100644 --- a/testsuites/validation/tc-terminate.c +++ b/testsuites/validation/tc-terminate.c @@ -261,7 +261,8 @@ static void ScoreInterrValTerminate_Action_0( void ) bool shutdown_ok; #if defined(RTEMS_SMP) - shutdown_ok = ( _Per_CPU_Get_state( _Per_CPU_Get() ) == PER_CPU_STATE_UP ); + shutdown_ok = + ( _Per_CPU_Get_state( _Per_CPU_Get_snapshot() ) == PER_CPU_STATE_UP ); #else shutdown_ok = true; #endif |