[PATCH] validation: Fix powerpc in test case

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Apr 9 11:42:01 UTC 2024


The powerpc context switch restores the interrupt state.

Update #4955.
---
 testsuites/validation/tc-score-isr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuites/validation/tc-score-isr.c b/testsuites/validation/tc-score-isr.c
index 9891829a84..b178541e72 100644
--- a/testsuites/validation/tc-score-isr.c
+++ b/testsuites/validation/tc-score-isr.c
@@ -221,7 +221,7 @@ static void ISRHandler( void *arg )
 
   (void) arg;
 
-#if defined(RTEMS_SMP)
+#if defined(RTEMS_SMP) && !(defined(__PPC__) || (__powerpc64__))
   Per_CPU_Control *cpu_self;
 
   cpu_self = _Per_CPU_Get();
-- 
2.35.3



More information about the devel mailing list