[rtems commit] score: Move declaration to end of file

Sebastian Huber sebh at rtems.org
Fri Apr 4 09:42:13 UTC 2014


Module:    rtems
Branch:    master
Commit:    fc3c7599f609b2ae8ad7349aad337328a9c91e3e
Changeset: http://git.rtems.org/rtems/commit/?id=fc3c7599f609b2ae8ad7349aad337328a9c91e3e

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Apr  4 08:36:19 2014 +0200

score: Move declaration to end of file

---

 cpukit/score/include/rtems/score/scheduler.h |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/cpukit/score/include/rtems/score/scheduler.h b/cpukit/score/include/rtems/score/scheduler.h
index 7aeb560..1890caf 100644
--- a/cpukit/score/include/rtems/score/scheduler.h
+++ b/cpukit/score/include/rtems/score/scheduler.h
@@ -208,14 +208,7 @@ void _Scheduler_default_Start_idle(
   Per_CPU_Control *processor
 );
 
-/*
- * See also PR2174: Memory corruption with EDF scheduler and thread priority
- * queues.
- */
-extern const bool _Scheduler_FIXME_thread_priority_queues_are_broken;
-
 #if defined(__RTEMS_HAVE_SYS_CPUSET_H__) && defined(RTEMS_SMP)
-
   /**
    * @brief Get affinity for the default scheduler.
    *
@@ -251,6 +244,12 @@ extern const bool _Scheduler_FIXME_thread_priority_queues_are_broken;
   );
 #endif
 
+/*
+ * See also PR2174: Memory corruption with EDF scheduler and thread priority
+ * queues.
+ */
+extern const bool _Scheduler_FIXME_thread_priority_queues_are_broken;
+
 /**@}*/
 
 #ifdef __cplusplus




More information about the vc mailing list