smptests/smpfatal08: Workaround for QorIQ BSPs

This commit is contained in:
Sebastian Huber
2015-03-24 14:35:05 +01:00
parent a54866e910
commit 4f10ed61d0
+8
View File
@@ -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;