rtems: Rename rtems_smp_get_current_processor()

Rename rtems_smp_get_current_processor() in
rtems_get_current_processor().  Make rtems_get_current_processor() a
function in uni-processor configurations to enable ABI compatibility
with SMP configurations.
This commit is contained in:
Sebastian Huber
2014-04-10 11:02:52 +02:00
parent 4bc8d2e717
commit cb5eaddf95
23 changed files with 62 additions and 38 deletions

View File

@@ -19,7 +19,7 @@
void bsp_reset(void)
{
uint32_t self_cpu = rtems_smp_get_current_processor();
uint32_t self_cpu = rtems_get_current_processor();
volatile uint32_t *mpumodrst = ALT_RSTMGR_MPUMODRST_ADDR;
if( self_cpu == 0 ) {

View File

@@ -20,7 +20,7 @@
void bsp_reset(void)
{
uint32_t self_cpu = rtems_smp_get_current_processor();
uint32_t self_cpu = rtems_get_current_processor();
if (self_cpu == 0) {
volatile struct irqmp_regs *irqmp = LEON3_IrqCtrl_Regs;