From 7bc76732b0d6c13e02361829b2c0a3f3c14d94b6 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 9 Apr 2024 13:09:12 +0200 Subject: [PATCH] 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();