Changeset 7da78cf in rtems for cpukit/rtems


Ignore:
Timestamp:
Dec 2, 2016, 10:51:16 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
f65dcc7
Parents:
d10716f
Message:

rtems: Use _Thread_Dispatch_direct()

Update #2797.

Location:
cpukit/rtems/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/src/scheduleraddprocessor.c

    rd10716f r7da78cf  
    103103    _Scheduler_Release_critical( scheduler, &lock_context );
    104104    _ISR_lock_ISR_enable( &lock_context );
    105     _Thread_Dispatch_enable( cpu_self );
     105    _Thread_Dispatch_direct( cpu_self );
    106106    status = RTEMS_SUCCESSFUL;
    107107  } else {
  • cpukit/rtems/src/schedulerremoveprocessor.c

    rd10716f r7da78cf  
    137137  _Scheduler_Release_critical( scheduler, &lock_context );
    138138  _ISR_lock_ISR_enable( &lock_context );
    139   _Thread_Dispatch_enable( cpu_self );
     139  _Thread_Dispatch_direct( cpu_self );
    140140  _Objects_Allocator_unlock();
    141141  return iter_context.status;
Note: See TracChangeset for help on using the changeset viewer.