diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-08-09 09:16:08 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-08-09 09:16:08 +0000 |
commit | 5f1300a79e2e519387347e48c80029775068e08c (patch) | |
tree | 8a247cd813935944ff658bda2d06b66e0da355be | |
parent | 2010-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-5f1300a79e2e519387347e48c80029775068e08c.tar.bz2 |
2010-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/inline/rtems/score/object.inl: Use attribute unused in
_Objects_Is_local_id().
-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) |