[rtems commit] validation: Fix powerpc in test case
Sebastian Huber
sebh at rtems.org
Tue Apr 9 14:46:47 UTC 2024
Module: rtems
Branch: master
Commit: e8132daf75bf208d0ab63c864f32250348fa4a6c
Changeset: http://git.rtems.org/rtems/commit/?id=e8132daf75bf208d0ab63c864f32250348fa4a6c
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Apr 9 13:09:12 2024 +0200
validation: Fix powerpc in test case
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();
More information about the vc
mailing list