summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-17 14:25:29 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-19 09:59:40 +0100
commit4627fcdab1f0ef0bdf068688c210385889290493 (patch)
tree5bf5161574a164f8c9795efecb7e53840c09c398 /cpukit/score/src
parentscore: Remove ASM guard (diff)
downloadrtems-4627fcdab1f0ef0bdf068688c210385889290493.tar.bz2
score: Rename bsp_smp_initialize()
Rename bsp_smp_initialize() into _CPU_SMP_Initialize() since every CPU port must supply this function.
Diffstat (limited to '')
-rw-r--r--cpukit/score/src/percpu.c3
-rw-r--r--cpukit/score/src/smp.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/cpukit/score/src/percpu.c b/cpukit/score/src/percpu.c
index 201c53be5a..aa95aa9c8d 100644
--- a/cpukit/score/src/percpu.c
+++ b/cpukit/score/src/percpu.c
@@ -29,7 +29,6 @@
#if defined(RTEMS_SMP)
#include <rtems/score/smp.h>
- #include <rtems/bspsmp.h>
void _SMP_Handler_initialize(void)
{
@@ -39,7 +38,7 @@
/*
* Discover and initialize the secondary cores in an SMP system.
*/
- max_cpus = bsp_smp_initialize( max_cpus );
+ max_cpus = _CPU_SMP_Initialize( max_cpus );
_SMP_Processor_count = max_cpus;
diff --git a/cpukit/score/src/smp.c b/cpukit/score/src/smp.c
index c03c148625..612c6e9044 100644
--- a/cpukit/score/src/smp.c
+++ b/cpukit/score/src/smp.c
@@ -138,7 +138,7 @@ void _SMP_Request_other_cores_to_shutdown( void )
/*
* Do not use _SMP_Get_processor_count() since this value might be not
* initialized yet. For example due to a fatal error in the middle of
- * bsp_smp_initialize().
+ * _CPU_SMP_Initialize().
*/
uint32_t ncpus = rtems_configuration_get_maximum_processors();