summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpscheduler03/init.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-10-31 08:33:11 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-02 10:05:45 +0100
commit2dd098a6359d9df132da09201ea0506c5389dc80 (patch)
tree0eb695dc9985894cf796d93ad1249344354f4863 /testsuites/smptests/smpscheduler03/init.c
parentscore: Delete Thread_Scheduler_control::own_node (diff)
downloadrtems-2dd098a6359d9df132da09201ea0506c5389dc80.tar.bz2
score: Introduce Thread_Scheduler_control::home
Replace Thread_Scheduler_control::control and Thread_Scheduler_control::own_control with new Thread_Scheduler_control::home. Update #2556.
Diffstat (limited to 'testsuites/smptests/smpscheduler03/init.c')
-rw-r--r--testsuites/smptests/smpscheduler03/init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/smptests/smpscheduler03/init.c b/testsuites/smptests/smpscheduler03/init.c
index d9e48629d0..55c79424f7 100644
--- a/testsuites/smptests/smpscheduler03/init.c
+++ b/testsuites/smptests/smpscheduler03/init.c
@@ -214,7 +214,7 @@ static void update_priority_op(
apply_priority(thread, new_priority, prepend_it, &queue_context);
_Thread_State_acquire( thread, &state_lock_context );
- scheduler = _Scheduler_Get( thread );
+ scheduler = _Thread_Scheduler_get_home( thread );
_Scheduler_Acquire_critical( scheduler, &scheduler_lock_context );
(*scheduler->Operations.update_priority)(
@@ -325,7 +325,7 @@ static Thread_Control *yield_op(
Thread_Control *needs_help;
_Thread_State_acquire( thread, &state_lock_context );
- scheduler = _Scheduler_Get( thread );
+ scheduler = _Thread_Scheduler_get_home( thread );
_Scheduler_Acquire_critical( scheduler, &scheduler_lock_context );
needs_help = (*scheduler->Operations.yield)(
@@ -464,7 +464,7 @@ static void block_op(
ISR_lock_Context scheduler_lock_context;
_Thread_State_acquire( thread, &state_lock_context );
- scheduler = _Scheduler_Get( thread );
+ scheduler = _Thread_Scheduler_get_home( thread );
_Scheduler_Acquire_critical( scheduler, &scheduler_lock_context );
(*scheduler->Operations.block)(scheduler, thread, &scheduler_node->Base);
@@ -484,7 +484,7 @@ static Thread_Control *unblock_op(
Thread_Control *needs_help;
_Thread_State_acquire( thread, &state_lock_context );
- scheduler = _Scheduler_Get( thread );
+ scheduler = _Thread_Scheduler_get_home( thread );
_Scheduler_Acquire_critical( scheduler, &scheduler_lock_context );
needs_help = (*scheduler->Operations.unblock)(