summaryrefslogtreecommitdiffstats
path: root/cpukit/itron
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/itron')
-rw-r--r--cpukit/itron/src/chg_pri.c4
-rw-r--r--cpukit/itron/src/ref_tsk.c2
-rw-r--r--cpukit/itron/src/rot_rdq.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/itron/src/chg_pri.c b/cpukit/itron/src/chg_pri.c
index 0a29128959..3845b96250 100644
--- a/cpukit/itron/src/chg_pri.c
+++ b/cpukit/itron/src/chg_pri.c
@@ -52,7 +52,7 @@ ER chg_pri(
_ITRON_return_errorno( E_PAR );
new_priority = _ITRON_Task_Priority_to_Core( tskpri );
- the_thread->real_priority = new_priority;
+ the_thread->Priority_node.real_priority = new_priority;
/*
* The priority should not be changed until later if priority
@@ -60,7 +60,7 @@ ER chg_pri(
*/
if ( the_thread->resource_count == 0 ||
- the_thread->current_priority > new_priority )
+ the_thread->Priority_node.current_priority > new_priority )
_Thread_Change_priority( the_thread, new_priority, false );
break;
diff --git a/cpukit/itron/src/ref_tsk.c b/cpukit/itron/src/ref_tsk.c
index 7804e96f44..e428ae843b 100644
--- a/cpukit/itron/src/ref_tsk.c
+++ b/cpukit/itron/src/ref_tsk.c
@@ -74,7 +74,7 @@ ER ref_tsk(
pk_rtsk->exinf = NULL; /* extended information */
pk_rtsk->tskpri =
- _ITRON_Task_Core_to_Priority(the_thread->current_priority);
+ _ITRON_Task_Core_to_Priority(the_thread->Priority_node.current_priority);
/*
* Mask in the tskstat information
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 {