[rtems commit] smptests/smpfatal08: Workaround for QorIQ BSPs
Sebastian Huber
sebh at rtems.org
Tue Mar 24 13:36:30 UTC 2015
Module: rtems
Branch: master
Commit: 4f10ed61d0e3c804c0ab6cde193d1f1ff4661daa
Changeset: http://git.rtems.org/rtems/commit/?id=4f10ed61d0e3c804c0ab6cde193d1f1ff4661daa
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Mar 24 13:42:08 2015 +0100
smptests/smpfatal08: Workaround for QorIQ BSPs
---
testsuites/smptests/smpfatal08/init.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/testsuites/smptests/smpfatal08/init.c b/testsuites/smptests/smpfatal08/init.c
index b0fc52a..2de76e4 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;
More information about the vc
mailing list