Changeset 774edf2c in rtems


Ignore:
Timestamp:
Apr 22, 2014, 5:46:44 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
4c23fa4
Parents:
fab2f188
git-author:
Sebastian Huber <sebastian.huber@…> (04/22/14 05:46:44)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/22/14 06:34:45)
Message:

score: Use _Per_CPU_Get_snapshot()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/debugisthreaddispatchingallowed.c

    rfab2f188 r774edf2c  
    2828
    2929    _ISR_Disable_without_giant( level );
    30     per_cpu = _Per_CPU_Get_by_index( _SMP_Get_current_processor() );
     30    per_cpu = _Per_CPU_Get_snapshot();
    3131    dispatch_allowed = per_cpu->thread_dispatch_disable_level == 0;
    3232    _ISR_Enable_without_giant( level );
Note: See TracChangeset for help on using the changeset viewer.