forked from Imagelibrary/rtems
rtems: Rename rtems_smp_get_processor_count()
Rename rtems_smp_get_processor_count() in rtems_get_processor_count(). Make rtems_get_processor_count() a function in uni-processor configurations to enable ABI compatibility with SMP configurations.
This commit is contained in:
@@ -68,7 +68,7 @@ static void wait_for_giant(void)
|
||||
static void Init(rtems_task_argument arg)
|
||||
{
|
||||
uint32_t self = rtems_smp_get_current_processor();
|
||||
uint32_t cpu_count = rtems_smp_get_processor_count();
|
||||
uint32_t cpu_count = rtems_get_processor_count();
|
||||
|
||||
rtems_test_begink();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user