diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-04-11 08:54:29 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-04-11 09:19:12 +0200 |
commit | ad87de4a67d8ce7e75d0b844efc03b98c3ecda1a (patch) | |
tree | 107f99285b1d0744f0c6e59bf9014b21085a01d6 /cpukit/include/rtems/score/smp.h | |
parent | score: Rename _SMP_Processor_count (diff) | |
download | rtems-ad87de4a67d8ce7e75d0b844efc03b98c3ecda1a.tar.bz2 |
score: Rename _SMP_Get_processor_count()
Rename _SMP_Get_processor_count() in _SMP_Get_processor_maximum() to be
in line with the API level rtems_scheduler_get_processor_maximum().
Update #3732.
Diffstat (limited to '')
-rw-r--r-- | cpukit/include/rtems/score/smp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/include/rtems/score/smp.h b/cpukit/include/rtems/score/smp.h index a960097948..94b7566f0e 100644 --- a/cpukit/include/rtems/score/smp.h +++ b/cpukit/include/rtems/score/smp.h @@ -37,12 +37,12 @@ extern "C" { #if defined( RTEMS_SMP ) extern uint32_t _SMP_Processor_maximum; - static inline uint32_t _SMP_Get_processor_count( void ) + static inline uint32_t _SMP_Get_processor_maximum( void ) { return _SMP_Processor_maximum; } #else - #define _SMP_Get_processor_count() UINT32_C(1) + #define _SMP_Get_processor_maximum() UINT32_C(1) #endif #if defined( RTEMS_SMP ) |