[PATCH] confdefs: Fix uniprocessor configuration

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Jul 30 06:09:17 UTC 2018


On 30/07/18 07:39, Sebastian Huber wrote:
> -#ifndef CONFIGURE_MAXIMUM_PROCESSORS
> -  #define CONFIGURE_MAXIMUM_PROCESSORS 1
> +/* Ensure that _CONFIGURE_MAXIMUM_PROCESSORS > 1 only in SMP configurations */
> +#if !defined(CONFIGURE_MAXIMUM_PROCESSORS) && defined(RTEMS_SMP)
> +  #define _CONFIGURE_MAXIMUM_PROCESSORS CONFIGURE_MAXIMUM_PROCESSORS
> +#else
> +  #define _CONFIGURE_MAXIMUM_PROCESSORS 1
>   #endif

Sorry, here is a typo. This should be:

#if defined(CONFIGURE_MAXIMUM_PROCESSORS) && defined(RTEMS_SMP)

-- 
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