OSDN Git Service

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)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 29 Mar 2015 22:11:17 +0000 (23:11 +0100)
commitc097877319ab61dd045b6497953b4e3df8f2bb44
tree869acdb8ebded7e0d5469fc9c6cb7bb9f09972c0
parent15955e70320bdc5d60b153a572ee4d89ab34e3d3
ARM: 8307/1: psci: move psci firmware calls out of line

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>
arch/arm/kernel/Makefile
arch/arm/kernel/psci-call.S [new file with mode: 0644]
arch/arm/kernel/psci.c