[PATCH] libmisc: Use SMP application by default on SMP

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Jul 1 13:18:08 UTC 2015


confdefs.h will only look at these defines in case RTEMS_SMP is defined.

On 01/07/15 15:04, Joel Sherrill wrote:
> Should those be conditional on SMP being enabled?
>
> On July 1, 2015 4:14:56 AM CDT, Sebastian Huber <sebastian.huber at embedded-brains.de> wrote:
>> ---
>> cpukit/libmisc/dummy/default-configuration.c | 4 ++++
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/cpukit/libmisc/dummy/default-configuration.c
>> b/cpukit/libmisc/dummy/default-configuration.c
>> index fc00406..c1898d3 100644
>> --- a/cpukit/libmisc/dummy/default-configuration.c
>> +++ b/cpukit/libmisc/dummy/default-configuration.c
>> @@ -102,6 +102,10 @@ static void Init( rtems_task_argument arg )
>> #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
>> #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
>>
>> +#define CONFIGURE_SMP_APPLICATION
>> +
>> +#define CONFIGURE_SMP_MAXIMUM_PROCESSORS 32
>> +
>> #define CONFIGURE_DISABLE_BSP_SETTINGS
>>
>> #define CONFIGURE_INIT
> --joel

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list