diff options
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/score/inline/rtems/score/object.inl | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 50bc786f0c..722365c17f 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,10 @@ 2010-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de> + * score/inline/rtems/score/object.inl: Use attribute unused in + _Objects_Is_local_id(). + +2010-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de> + * rtems/Makefile.am, rtems/preinstall.am: Install <rtems/rtems/mainpage.h> to allow documentation generation. diff --git a/cpukit/score/inline/rtems/score/object.inl b/cpukit/score/inline/rtems/score/object.inl index 7db87bdde9..d4d39acac6 100644 --- a/cpukit/score/inline/rtems/score/object.inl +++ b/cpukit/score/inline/rtems/score/object.inl @@ -162,7 +162,11 @@ RTEMS_INLINE_ROUTINE bool _Objects_Is_local_node( * @note On a single processor configuration, this always returns true. */ RTEMS_INLINE_ROUTINE bool _Objects_Is_local_id( +#if defined(RTEMS_MULTIPROCESSING) Objects_Id id +#else + Objects_Id id __attribute__((unused)) +#endif ) { #if defined(RTEMS_MULTIPROCESSING) |