summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpfatal08
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-05-12 09:23:51 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-05-12 09:23:51 +0200
commit6c5c2f39d05543c2d30e8fc44e93dd961c68e43d (patch)
tree00f605882ef2e8290dee8e9a993eefd213c48a50 /testsuites/smptests/smpfatal08
parentbsps: Use standard file name for BSP support (diff)
downloadrtems-6c5c2f39d05543c2d30e8fc44e93dd961c68e43d.tar.bz2
bsps: Use bsp_start_on_secondary_processor()
Use a standard function for startup on secondary processors.
Diffstat (limited to 'testsuites/smptests/smpfatal08')
-rw-r--r--testsuites/smptests/smpfatal08/init.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/testsuites/smptests/smpfatal08/init.c b/testsuites/smptests/smpfatal08/init.c
index 59fe4a6543..b005443b72 100644
--- a/testsuites/smptests/smpfatal08/init.c
+++ b/testsuites/smptests/smpfatal08/init.c
@@ -20,6 +20,8 @@
#include <rtems/test.h>
#include <rtems/score/smpimpl.h>
+#include <bsp/bootcard.h>
+
#include <assert.h>
#include <stdlib.h>
@@ -30,21 +32,10 @@ const char rtems_test_name[] = "SMPFATAL 8";
* without BSP support.
*/
-#if defined(__PPC__)
-void qoriq_secondary_cpu_initialize(void)
+void bsp_start_on_secondary_processor(void)
{
/* Provided to avoid multiple definitions of the CPU SMP support functions */
}
-#endif
-
-#if defined(__sparc__)
-void leon3_secondary_cpu_initialize(uint32_t cpu_index)
-{
- (void) cpu_index;
-
- /* Provided to avoid multiple definitions of the CPU SMP support functions */
-}
-#endif
uint32_t _CPU_SMP_Initialize(void)
{