mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 15:39:19 +08:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user