diff options
Diffstat (limited to 'cpukit/include/rtems/score')
-rw-r--r-- | cpukit/include/rtems/score/object.h | 9 | ||||
-rw-r--r-- | cpukit/include/rtems/score/objectimpl.h | 9 |
2 files changed, 9 insertions, 9 deletions
diff --git a/cpukit/include/rtems/score/object.h b/cpukit/include/rtems/score/object.h index 6f4bea95ae..6c39af6749 100644 --- a/cpukit/include/rtems/score/object.h +++ b/cpukit/include/rtems/score/object.h @@ -338,6 +338,15 @@ RTEMS_INLINE_ROUTINE Objects_Maximum _Objects_Get_index( #define _Objects_Maximum_per_allocation( maximum ) \ ((Objects_Maximum) ((maximum) & ~OBJECTS_UNLIMITED_OBJECTS)) +/** + * @brief The local MPCI node number. + */ +#if defined(RTEMS_MULTIPROCESSING) +extern uint16_t _Objects_Local_node; +#else +#define _Objects_Local_node ((uint16_t) 1) +#endif + /** @} */ /** @} */ /** @} */ diff --git a/cpukit/include/rtems/score/objectimpl.h b/cpukit/include/rtems/score/objectimpl.h index 8aca6b794b..9becb33e7d 100644 --- a/cpukit/include/rtems/score/objectimpl.h +++ b/cpukit/include/rtems/score/objectimpl.h @@ -64,15 +64,6 @@ typedef enum { } Objects_Fake_objects_API; /** - * The following is referenced to the node number of the local node. - */ -#if defined(RTEMS_MULTIPROCESSING) -extern uint16_t _Objects_Local_node; -#else -#define _Objects_Local_node ((uint16_t)1) -#endif - -/** * The following is referenced to the number of nodes in the system. */ #if defined(RTEMS_MULTIPROCESSING) |