[rtems commit] score: Simplify ISR lock name

Sebastian Huber sebh at rtems.org
Tue Sep 27 05:40:02 UTC 2016


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Sep 23 11:56:45 2016 +0200

score: Simplify ISR lock name

---

 cpukit/score/src/threadinitialize.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/cpukit/score/src/threadinitialize.c b/cpukit/score/src/threadinitialize.c
index 84d2627..c6db62f 100644
--- a/cpukit/score/src/threadinitialize.c
+++ b/cpukit/score/src/threadinitialize.c
@@ -234,10 +234,7 @@ bool _Thread_Initialize(
   the_thread->Scheduler.own_node = scheduler_node;
   the_thread->Scheduler.node = scheduler_node;
   _Resource_Node_initialize( &the_thread->Resource_node );
-  _ISR_lock_Initialize(
-    &the_thread->Wait.Lock.Default,
-    "Thread Wait Default Lock"
-  );
+  _ISR_lock_Initialize( &the_thread->Wait.Lock.Default, "Thread Wait Default" );
   _Thread_queue_Gate_open( &the_thread->Wait.Lock.Tranquilizer );
   _RBTree_Initialize_node( &the_thread->Wait.Link.Registry_node );
   _SMP_lock_Stats_initialize( &the_thread->Potpourri_stats, "Thread Potpourri" );



More information about the vc mailing list