From e79093acb1943261173f83188468b1ab4075956a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 4 Apr 2011 16:40:00 +0000 Subject: 2011-04-04 Joel Sherrill 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(). --- cpukit/score/src/percpu.c | 4 +--- cpukit/score/src/thread.c | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'cpukit/score/src') 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 -- cgit v1.2.3