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.
This commit is contained in:
Sebastian Huber
2021-08-30 18:27:48 +02:00
parent 8f3973fe8d
commit 30570b49c5
+1 -1
View File
@@ -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) {