summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-24 13:42:08 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-24 14:35:05 +0100
commit4f10ed61d0e3c804c0ab6cde193d1f1ff4661daa (patch)
tree4ffb60c0fbe08ca303688c56b75e71e1bab02ad0
parenta54866e910733c89fa38045dfcd9ccb49e75603b (diff)
downloadrtems-4f10ed61d0e3c804c0ab6cde193d1f1ff4661daa.tar.bz2
smptests/smpfatal08: Workaround for QorIQ BSPs
-rw-r--r--testsuites/smptests/smpfatal08/init.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuites/smptests/smpfatal08/init.c b/testsuites/smptests/smpfatal08/init.c
index b0fc52a40c..2de76e45a4 100644
--- a/testsuites/smptests/smpfatal08/init.c
+++ b/testsuites/smptests/smpfatal08/init.c
@@ -20,6 +20,7 @@
#include <rtems/test.h>
#include <rtems/score/smpimpl.h>
+#include <bsp.h>
#include <bsp/bootcard.h>
#include <assert.h>
@@ -37,6 +38,13 @@ void bsp_start_on_secondary_processor(void)
/* Provided to avoid multiple definitions of the CPU SMP support functions */
}
+#if QORIQ_THREAD_COUNT > 1
+void qoriq_start_thread(void)
+{
+ /* Provided to avoid multiple definitions of the CPU SMP support functions */
+}
+#endif
+
uint32_t _CPU_SMP_Initialize(void)
{
return 2;