Changeset 2a4f9d7 in rtems for c/src/lib/libbsp/i386


Ignore:
Timestamp:
Dec 23, 2014, 7:28:24 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
ad0743db
Parents:
cfe6d05
git-author:
Sebastian Huber <sebastian.huber@…> (12/23/14 07:28:24)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/09/15 13:03:32)
Message:

smp: Add and use _SMP_Should_start_processor()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/shared/smp/smp-imps.c

    rcfe6d05 r2a4f9d7  
    5858#include <bsp/irq.h>
    5959#include <rtems/score/smpimpl.h>
    60 #include <rtems/score/schedulerimpl.h>
    6160
    6261/*
     
    388387    case IMPS_BCT_PROCESSOR:
    389388      if ( imps_num_cpus < rtems_configuration_get_maximum_processors() ) {
    390         const Scheduler_Assignment *assignment =
    391           _Scheduler_Get_assignment((uint32_t) imps_num_cpus);
    392 
    393         if (_Scheduler_Should_start_processor(assignment)) {
     389        if (_SMP_Should_start_processor((uint32_t) imps_num_cpus)) {
    394390          add_processor((imps_processor *)start);
    395391        }
Note: See TracChangeset for help on using the changeset viewer.