Re: [PATCH, 3.18-stable regression] ARM: psci: fix header file
From: Greg KH
Date: Thu Apr 27 2017 - 06:01:44 EST
On Fri, Apr 21, 2017 at 03:59:17PM +0200, Arnd Bergmann wrote:
> Commit be95485a0b828 was incorrectly backported to 3.18 and
> now causes a different build error when CONFIG_SMP is disabled:
>
> arch/arm/kernel/psci.c:287:12: error: redefinition of 'psci_init'
>
> This version is how it should be on 3.18, with the main psci
> code built for both SMP and UP, but the psci_smp_available()
> function only being available for SMP builds.
>
> Fixes: dbcfee724255 ("ARM: 8457/1: psci-smp is built only for SMP")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---
> arch/arm/include/asm/psci.h | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
This should have already been fixed in 3.18.50 as dbcfee724255 was
reverted there. Because of that, this patch does not apply to the
3.18-stable tree.
thanks,
greg k-h