Changeset 6c36946f in rtems


Ignore:
Timestamp:
May 7, 2014, 12:22:56 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
0960fee
Parents:
38b59a6
git-author:
Sebastian Huber <sebastian.huber@…> (05/07/14 12:22:56)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/07/14 12:26:33)
Message:

score: Fix SMP startup

File:
1 edited

Legend:

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

    r38b59a6 r6c36946f  
    112112    Per_CPU_Control *cpu = _Per_CPU_Get_by_index( cpu_index );
    113113
    114     _Per_CPU_State_change( cpu, PER_CPU_STATE_REQUEST_START_MULTITASKING );
     114    if ( _Per_CPU_Is_processor_started( cpu ) ) {
     115      _Per_CPU_State_change( cpu, PER_CPU_STATE_REQUEST_START_MULTITASKING );
     116    }
    115117  }
    116118}
Note: See TracChangeset for help on using the changeset viewer.