diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-08-17 13:46:35 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-08-30 18:27:48 +0200 |
commit | 30570b49c52e2f0e8b7687070dde61c68e7a7af3 (patch) | |
tree | 05d2b852b495a65ecc4467fa6afcce4820f75bf8 /testsuites/smptests/smpfatal01 | |
parent | libmisc/shell: Check the shell command pointers when adding a command (diff) | |
download | rtems-30570b49c52e2f0e8b7687070dde61c68e7a7af3.tar.bz2 |
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.
Diffstat (limited to '')
-rw-r--r-- | testsuites/smptests/smpfatal01/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |