summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smp08
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-05-31 13:56:56 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-05-31 15:20:30 +0200
commitac2bb464a5948ff0b3ae4bb5bd4434735e6c0e04 (patch)
treed06af96753409c3ec551b7ea0b73ee7f4031dcd4 /testsuites/smptests/smp08
parentsmp: Move secondary CPU initialization request (diff)
downloadrtems-ac2bb464a5948ff0b3ae4bb5bd4434735e6c0e04.tar.bz2
smptests: Use priority ceiling for locked print
In case the printf() blocks on a semaphore it was possible to end up in a livelock.
Diffstat (limited to 'testsuites/smptests/smp08')
-rw-r--r--testsuites/smptests/smp08/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smp08/init.c b/testsuites/smptests/smp08/init.c
index 1c03cec8a3..8e8de7c052 100644
--- a/testsuites/smptests/smp08/init.c
+++ b/testsuites/smptests/smp08/init.c
@@ -78,7 +78,7 @@ rtems_task Init(
sprintf(ch, "%02" PRId32, i );
status = rtems_task_create(
rtems_build_name( 'T', 'A', ch[0], ch[1] ),
- 1,
+ 2,
RTEMS_MINIMUM_STACK_SIZE,
RTEMS_DEFAULT_MODES,
RTEMS_DEFAULT_ATTRIBUTES,