Changeset 8a6de83 in rtems for cpukit/sapi


Ignore:
Timestamp:
Feb 17, 2014, 9:10:27 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
b39e055
Parents:
38ee758
git-author:
Sebastian Huber <sebastian.huber@…> (02/17/14 09:10:27)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/19/14 08:59:39)
Message:

score: Move _SMP_Request_other_cores_to_shutdown()

Move _SMP_Request_other_cores_to_shutdown() invocation from
rtems_shutdown_executive() to _Internal_error_Occurred() to allow a
proper shutdown on SMP configurations even in the error case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/src/exshutdown.c

    r38ee758 r8a6de83  
    1818#include <rtems/score/interr.h>
    1919
    20 #if defined(RTEMS_SMP)
    21   #include <rtems/score/smp.h>
    22 #endif
    23 
    2420void rtems_shutdown_executive( uint32_t result )
    2521{
     
    2925
    3026  if ( _System_state_Is_up( _System_state_Get() ) ) {
    31     #if defined(RTEMS_SMP)
    32       _SMP_Request_other_cores_to_shutdown();
    33     #endif
    34 
    3527    source      = RTEMS_FATAL_SOURCE_EXIT;
    3628    is_internal = false;
Note: See TracChangeset for help on using the changeset viewer.