]> git.baikalelectronics.ru Git - kernel.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)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 29 Mar 2015 22:11:17 +0000 (23:11 +0100)
commita16f1f873d3d0158174dc5aabbb383b00d15fd4e
tree869acdb8ebded7e0d5469fc9c6cb7bb9f09972c0
parent003d75cfe78894ece09fb19545688cd4cbfb9a10
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