summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpscheduler03
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-20 15:10:27 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-20 16:17:00 +0200
commite266d134ebf6f7b7722fffe23c3b4ad142001452 (patch)
tree7e43e93706be3da460331353b87e58cbb6a9833c /testsuites/smptests/smpscheduler03
parentscore: Rename _Objects_Get_local() (diff)
downloadrtems-e266d134ebf6f7b7722fffe23c3b4ad142001452.tar.bz2
Replace *_Get_interrupt_disable() with *_Get()
Uniformly use *_Get() to get an object by identifier with a lock context.
Diffstat (limited to 'testsuites/smptests/smpscheduler03')
-rw-r--r--testsuites/smptests/smpscheduler03/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smpscheduler03/init.c b/testsuites/smptests/smpscheduler03/init.c
index 54735001e6..d6a145c3d5 100644
--- a/testsuites/smptests/smpscheduler03/init.c
+++ b/testsuites/smptests/smpscheduler03/init.c
@@ -103,7 +103,7 @@ static Thread_Control *get_thread_by_id(rtems_id task_id)
ISR_lock_Context lock_context;
Thread_Control *thread;
- thread = _Thread_Get_interrupt_disable(task_id, &lock_context);
+ thread = _Thread_Get(task_id, &lock_context);
rtems_test_assert(thread != NULL);
_ISR_lock_ISR_enable(&lock_context);