]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: 8307/1: psci: move psci firmware calls out of line
authorMark Rutland <mark.rutland@arm.com>
Fri, 6 Mar 2015 11:08:30 +0000 (12:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 May 2015 16:55:10 +0000 (09:55 -0700)
commitcef320a4049db294105b9d5d567914ed560820fa
tree4cac185f1f2ddf283857fa34f6c316f0604496fd
parenta44d1844deb25c71881e2ee930f892d2b85a49d2
ARM: 8307/1: psci: move psci firmware calls out of line

commit c097877319ab61dd045b6497953b4e3df8f2bb44 upstream.

arm64 builds with GCC 5 have caused the __asmeq assertions in the PSCI
calling code to fire, so move the ARM PSCI calls out of line into their
own assembly file for consistency and to safeguard against the same
issue occuring with the 32-bit toolchain.

[will: brought into line with arm64 implementation]

Reported-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/kernel/Makefile
arch/arm/kernel/psci-call.S [new file with mode: 0644]
arch/arm/kernel/psci.c