diff options
author | Gedare Bloom <gedare@rtems.org> | 2017-12-21 11:49:30 -0500 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2018-03-23 11:33:59 -0400 |
commit | 78b867e26dac3266763f275c1f438da912f33a6e (patch) | |
tree | 6a6bcac4a0a7f3fa6fd9ab7a9c499ca00ff69f2c /cpukit/itron/src/rot_rdq.c | |
parent | sptests: Add spmutex01 to build (diff) | |
download | rtems-78b867e26dac3266763f275c1f438da912f33a6e.tar.bz2 |
score: replace current and real priority with priority node
Encapsulate the current_priority and real_priority fields of
the thread control block with a Thread_Priority_node struct.
Propagate modifications throughout the tree where the two
fields are directly accessed.
Updates #3359.
Diffstat (limited to 'cpukit/itron/src/rot_rdq.c')
-rw-r--r-- | cpukit/itron/src/rot_rdq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/itron/src/rot_rdq.c b/cpukit/itron/src/rot_rdq.c index 9f57321dc9..5487e17a17 100644 --- a/cpukit/itron/src/rot_rdq.c +++ b/cpukit/itron/src/rot_rdq.c @@ -43,7 +43,7 @@ ER rot_rdq( * Yield of processor will rotate the queue for this processor. */ - priority = _ITRON_Task_Core_to_Priority(_Thread_Executing->current_priority); + priority = _ITRON_Task_Core_to_Priority(_Thread_Executing->Priority_node.current_priority); if ( priority == tskpri ) _Thread_Yield_processor(); else { |