forked from Imagelibrary/rtems
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:
@@ -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 ) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user