From 30570b49c52e2f0e8b7687070dde61c68e7a7af3 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 17 Aug 2021 13:46:35 +0200 Subject: smpfatal01: Fix test time out on sparc/leon3 End the test on the processor which triggers the test condition. This avoids endless power down loops in the sparc/leon3 BSP. --- testsuites/smptests/smpfatal01/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuites/smptests/smpfatal01/init.c') diff --git a/testsuites/smptests/smpfatal01/init.c b/testsuites/smptests/smpfatal01/init.c index 431d71dd65..4b01763a92 100644 --- a/testsuites/smptests/smpfatal01/init.c +++ b/testsuites/smptests/smpfatal01/init.c @@ -62,7 +62,7 @@ static void fatal_extension( _SMP_barrier_Wait(&barrier, &barrier_state, cpu_count); - if (self == main_cpu) { + if (self == other_cpu) { uint32_t cpu; for (cpu = 0; cpu < cpu_count; ++cpu) { -- cgit v1.2.3