[rtems-central commit] spec: Fix issue with RTEMS_DEBUG

Sebastian Huber sebh at rtems.org
Tue Nov 9 14:47:48 UTC 2021


Module:    rtems-central
Branch:    master
Commit:    77400c8ec471f707389c757c9502d52ef347a90b
Changeset: http://git.rtems.org/rtems-central/commit/?id=77400c8ec471f707389c757c9502d52ef347a90b

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Nov  8 13:26:38 2021 +0100

spec: Fix issue with RTEMS_DEBUG

---

 spec/score/interr/val/terminate.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/spec/score/interr/val/terminate.yml b/spec/score/interr/val/terminate.yml
index cbc85af..ab0b53a 100644
--- a/spec/score/interr/val/terminate.yml
+++ b/spec/score/interr/val/terminate.yml
@@ -14,7 +14,8 @@ test-actions:
     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



More information about the vc mailing list