Re: [PATCH RESEND] ARM: trusted_foundations: fix compile error on non-SMP
From: Arnd Bergmann
Date: Fri May 23 2014 - 15:29:03 EST
On Friday 23 May 2014, Stephen Warren wrote:
> On 05/22/2014 06:23 PM, Alexandre Courbot wrote:
> > The setup_max_cpus variable is only defined if CONFIG_SMP is set. Add
> > a preprocessor condition to avoid the following compilation error if
> > CONFIG_SMP is not set:
> >
> > arch/arm/include/asm/trusted_foundations.h: In function 'register_trusted_foundations':
> > arch/arm/include/asm/trusted_foundations.h:57:2: error: 'setup_max_cpus' undeclared (first use in this function)
> >
> > Signed-off-by: Alexandre Courbot <acourbot@xxxxxxxxxx>
> > Reported-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>
>
> I spoke to Olof and IRC, and he said arm-soc would be OK taking this
> patch, since they applied the original code this fixes. IIUC, they'll
> pick this up directly.
>
> Acked-by: Stephen Warren <swarren@xxxxxxxxxx>
>
Pulled into the fixes branch now, thanks!
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/