summaryrefslogtreecommitdiffstats
path: root/cpukit/score
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-04-04 16:40:00 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-04-04 16:40:00 +0000
commite79093acb1943261173f83188468b1ab4075956a (patch)
treebff361a645349293e2664dbae0f4f3e9c825cefa /cpukit/score
parentWhitespace fixes. (diff)
downloadrtems-e79093acb1943261173f83188468b1ab4075956a.tar.bz2
2011-04-04 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1773/cpukit * sapi/include/confdefs.h, sapi/src/exinit.c, score/include/rtems/bspsmp.h, score/src/percpu.c, score/src/thread.c: Rename rtems_smp_maximum_processor to rtems_configuration_smp_maximum_processor. Eliminate printk().
Diffstat (limited to 'cpukit/score')
-rw-r--r--cpukit/score/include/rtems/bspsmp.h2
-rw-r--r--cpukit/score/src/percpu.c4
-rw-r--r--cpukit/score/src/thread.c2
3 files changed, 3 insertions, 5 deletions
diff --git a/cpukit/score/include/rtems/bspsmp.h b/cpukit/score/include/rtems/bspsmp.h
index 26da0a7614..da80c38ae8 100644
--- a/cpukit/score/include/rtems/bspsmp.h
+++ b/cpukit/score/include/rtems/bspsmp.h
@@ -87,7 +87,7 @@ SCORE_EXTERN uint32_t _SMP_Processor_count;
* This variable is set during the SMP initialization sequence to
* indicate the Maximum number of CPUs in this system.
*/
-extern uint32_t rtems_smp_maximum_processors;
+extern uint32_t rtems_configuration_smp_maximum_processors;
/**
* @brief Initialize Secondary CPUs
diff --git a/cpukit/score/src/percpu.c b/cpukit/score/src/percpu.c
index 3a6676432b..219dc7ac48 100644
--- a/cpukit/score/src/percpu.c
+++ b/cpukit/score/src/percpu.c
@@ -40,9 +40,7 @@
*/
size = Configuration.interrupt_stack_size;
_Per_CPU_Information_p[0] = &_Per_CPU_Information[0];
- for (cpu=1 ; cpu < rtems_smp_maximum_processors; cpu++ ) {
-
- printk("Initializing cpu control structure %d\n", cpu );
+ for (cpu=1 ; cpu < rtems_configuration_smp_maximum_processors; cpu++ ) {
Per_CPU_Control *p = &_Per_CPU_Information[cpu];
diff --git a/cpukit/score/src/thread.c b/cpukit/score/src/thread.c
index 7a0eb38502..3736f6eda8 100644
--- a/cpukit/score/src/thread.c
+++ b/cpukit/score/src/thread.c
@@ -94,7 +94,7 @@ void _Thread_Handler_initialization(void)
* coupled multiprocessing system, account for the MPCI Server Thread.
*/
#if defined(RTEMS_SMP)
- maximum_internal_threads = rtems_smp_maximum_processors;
+ maximum_internal_threads = rtems_configuration_smp_maximum_processors;
#else
maximum_internal_threads = 1;
#endif