diff options
Diffstat (limited to 'c/src/lib/libbsp/shared/clockdrv_shell.h')
-rw-r--r-- | c/src/lib/libbsp/shared/clockdrv_shell.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/shared/clockdrv_shell.h b/c/src/lib/libbsp/shared/clockdrv_shell.h index bf741339ae..a4d1b2df91 100644 --- a/c/src/lib/libbsp/shared/clockdrv_shell.h +++ b/c/src/lib/libbsp/shared/clockdrv_shell.h @@ -80,7 +80,7 @@ static void Clock_driver_timecounter_tick( void ) if ( _Per_CPU_Is_boot_processor( cpu ) ) { rtems_timecounter_tick(); - } else if ( _Processor_mask_Is_set( &_SMP_Online_processors, cpu_index ) ) { + } else if ( _Processor_mask_Is_set( _SMP_Get_online_processors(), cpu_index ) ) { _Watchdog_Tick( cpu ); } } @@ -227,7 +227,9 @@ rtems_device_driver Clock_initialize( Clock_driver_support_install_isr( Clock_isr, Old_ticker ); #ifdef RTEMS_SMP - Clock_driver_support_set_interrupt_affinity( &_SMP_Online_processors ); + Clock_driver_support_set_interrupt_affinity( + _SMP_Get_online_processors() + ); #endif /* |