summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadclearstate.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-29 17:52:10 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-29 17:52:10 +0000
commita55e305ed3406b935a24ceb9becdff58a1a87948 (patch)
treeb4745978fb84fecc82b1b3d0d0cb7aa0eec8d4a7 /cpukit/score/src/threadclearstate.c
parent2010-07-29 Gedare Bloom <giddyup44@yahoo.com> (diff)
downloadrtems-a55e305ed3406b935a24ceb9becdff58a1a87948.tar.bz2
2010-07-29 Gedare Bloom <giddyup44@yahoo.com>
PR 1635/cpukit * sapi/src/exinit.c, score/Makefile.am, score/preinstall.am, score/include/rtems/score/bitfield.h, score/include/rtems/score/priority.h, score/include/rtems/score/thread.h, score/inline/rtems/score/priority.inl, score/inline/rtems/score/thread.inl, score/src/threadchangepriority.c, score/src/threadclearstate.c, score/src/threadready.c, score/src/threadresume.c, score/src/threadsetpriority.c, score/src/threadsetstate.c, score/src/threadsettransient.c, score/src/threadsuspend.c: Refactoring of priority handling, to isolate the bitmap implementation of priorities in the supercore so that priority management is a little more modular. This change is in anticipation of scheduler implementations that can select how they manage tracking priority levels / finding the highest priority ready task. Note that most of the changes here are simple renaming, to clarify the use of the bitmap-based priority management. * score/include/rtems/score/prioritybitmap.h, score/inline/rtems/score/prioritybitmap.inl: New files.
Diffstat (limited to 'cpukit/score/src/threadclearstate.c')
-rw-r--r--cpukit/score/src/threadclearstate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/threadclearstate.c b/cpukit/score/src/threadclearstate.c
index 872d57cc66..9f89f1a736 100644
--- a/cpukit/score/src/threadclearstate.c
+++ b/cpukit/score/src/threadclearstate.c
@@ -67,7 +67,7 @@ void _Thread_Clear_state(
if ( _States_Is_ready( current_state ) ) {
- _Priority_Add_to_bit_map( &the_thread->Priority_map );
+ _Priority_bit_map_Add( &the_thread->Priority_map );
_Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);