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

Joel Sherrill joel.sherrill at oarcorp.com
Wed Jul 1 13:23:05 UTC 2015



On July 1, 2015 8:18:08 AM CDT, Sebastian Huber <sebastian.huber at embedded-brains.de> wrote:
>confdefs.h will only look at these defines in case RTEMS_SMP is
>defined.

I know. Just wondered if it would be clearer for a reader. Maybe a comment that they have no impact if SMP is disabled.

>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

--joel


More information about the devel mailing list