Revert "ARM: 8457/1: psci-smp is built only for SMP"
authorAmit Pundir <amit.pundir@linaro.org>
Thu, 6 Apr 2017 06:07:14 +0000 (11:37 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Apr 2017 05:14:58 +0000 (07:14 +0200)
commit3405698af0b3597da73e2476a2d37cb7f19081b9
treefab922699a6940995ae687563fd5055b107d80c6
parent0806093a3d63ddd7c4e3227d4e1d30ac1c85a8dd
Revert "ARM: 8457/1: psci-smp is built only for SMP"

This reverts commit dbcfee724255ae171af51aaa56d8c5b78342adc9 which is
commit be95485a0b8288a93402705730d3ea32f9f812b9 upstream.

Upstream commit be95485 (ARM: 8457/1: psci-smp is built only for SMP)
was intended to fix the build error for configs with CONFIG_SMP=n and
CONFIG_ARM_PSCI=y, but it end up introducing a build error when
cherry-picked on 3.18.y.

This patch resulted in redefinition of psci_init() and broke the
build for every build config in 3.18.y with CONFIG_SMP=n and
CONFIG_ARM_PSCI=y.

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/include/asm/psci.h