Changeset e266d13 in rtems for testsuites/smptests


Ignore:
Timestamp:
May 20, 2016, 1:10:27 PM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
bdb3b7f
Parents:
582bb23c
git-author:
Sebastian Huber <sebastian.huber@…> (05/20/16 13:10:27)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/20/16 14:17:00)
Message:

Replace *_Get_interrupt_disable() with *_Get()

Uniformly use *_Get() to get an object by identifier with a lock
context.

Location:
testsuites/smptests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/smptests/smpmigration02/init.c

    r582bb23c re266d13  
    122122  Thread_Control *thread;
    123123
    124   thread = _Thread_Get_interrupt_disable(task_id, &lock_context);
     124  thread = _Thread_Get(task_id, &lock_context);
    125125  rtems_test_assert(thread != NULL);
    126126  _ISR_lock_ISR_enable(&lock_context);
  • testsuites/smptests/smpscheduler03/init.c

    r582bb23c re266d13  
    104104  Thread_Control *thread;
    105105
    106   thread = _Thread_Get_interrupt_disable(task_id, &lock_context);
     106  thread = _Thread_Get(task_id, &lock_context);
    107107  rtems_test_assert(thread != NULL);
    108108  _ISR_lock_ISR_enable(&lock_context);
Note: See TracChangeset for help on using the changeset viewer.