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

Joel Sherrill joel.sherrill at oarcorp.com
Wed Jul 1 13:04:51 UTC 2015


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



More information about the devel mailing list