[rtems commit] score: Fix per-CPU state documentation

Sebastian Huber sebh at rtems.org
Thu Mar 6 10:05:44 UTC 2014


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Mar  6 10:53:17 2014 +0100

score: Fix per-CPU state documentation

---

 cpukit/score/include/rtems/score/percpu.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cpukit/score/include/rtems/score/percpu.h b/cpukit/score/include/rtems/score/percpu.h
index ca9185e..4b7fd62 100644
--- a/cpukit/score/include/rtems/score/percpu.h
+++ b/cpukit/score/include/rtems/score/percpu.h
@@ -76,7 +76,7 @@ typedef struct Thread_Control_struct Thread_Control;
  * The processor state controls the life cycle of processors at the lowest
  * level.  No multi-threading or other high-level concepts matter here.
  *
- * State changes must be initiated via _Per_CPU_Change_state().  This function
+ * State changes must be initiated via _Per_CPU_State_change().  This function
  * may not return in case someone requested a shutdown.  The
  * _SMP_Send_message() function will be used to notify other processors about
  * state changes if the other processor is in the up state.
@@ -220,9 +220,9 @@ typedef struct {
     /**
      * @brief Indicates the current state of the CPU.
      *
-     * This field is not protected by a lock.
+     * This field is not protected by the _Per_CPU_State_lock lock.
      *
-     * @see _Per_CPU_Change_state() and _Per_CPU_Wait_for_state().
+     * @see _Per_CPU_State_change().
      */
     Per_CPU_State state;
   #endif




More information about the vc mailing list