Changeset b1d08a58 in rtems


Ignore:
Timestamp:
Feb 18, 2014, 12:20:08 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
c4ff027
Parents:
282bfd3
git-author:
Sebastian Huber <sebastian.huber@…> (02/18/14 12:20:08)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/19/14 08:59:42)
Message:

score: Initialize per-CPU locks

File:
1 edited

Legend:

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

    r282bfd3 rb1d08a58  
    3434  uint32_t max_cpus = rtems_configuration_get_maximum_processors();
    3535  uint32_t cpu;
     36
     37  for ( cpu = 0 ; cpu < max_cpus; ++cpu ) {
     38    Per_CPU_Control *per_cpu = _Per_CPU_Get_by_index( cpu );
     39
     40    _ISR_lock_Initialize( &per_cpu->lock );
     41  }
    3642
    3743  /*
Note: See TracChangeset for help on using the changeset viewer.