Changeset 13097181 in rtems for cpukit/sapi


Ignore:
Timestamp:
May 11, 2017, 9:03:00 AM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
f778b7f3
Parents:
0e49417
git-author:
Sebastian Huber <sebastian.huber@…> (05/11/17 09:03:00)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/11/17 09:40:44)
Message:

confdefs.h: CONFIGURE_DISABLE_SMP_CONFIGURATION

Enable the SMP configuration by default in case SMP is enabled. Add
configuration option CONFIGURE_DISABLE_SMP_CONFIGURATION to disable it
explicitly.

Add CONFIGURE_DISABLE_SMP_CONFIGURATION to all test which would fail
otherwise.

Update #3001.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/include/confdefs.h

    r0e49417 r13097181  
    225225 * configuration.
    226226 */
    227 #if defined(RTEMS_SMP) && CONFIGURE_MAXIMUM_PROCESSORS > 1
    228   #define _CONFIGURE_SMP_APPLICATION
     227#ifdef RTEMS_SMP
     228  #if !defined(CONFIGURE_DISABLE_SMP_CONFIGURATION)
     229    #define _CONFIGURE_SMP_APPLICATION
     230  #elif CONFIGURE_MAXIMUM_PROCESSORS > 1
     231    #error "CONFIGURE_DISABLE_SMP_CONFIGURATION and CONFIGURE_MAXIMUM_PROCESSORS > 1 makes no sense"
     232  #endif
    229233#endif
    230234
Note: See TracChangeset for help on using the changeset viewer.