]> Git Repo - u-boot.git/commit
ARM: PSCI: use only r0 and r3 in psci_get_cpu_stack_top()
authorChen-Yu Tsai <[email protected]>
Tue, 7 Jun 2016 02:54:24 +0000 (10:54 +0800)
committerHans de Goede <[email protected]>
Mon, 20 Jun 2016 20:43:59 +0000 (22:43 +0200)
commitdae08d228122e4ad296077106520a4db3ca17872
treed4b3f5cb90450524a65c3d74afb6fdaae85bf2cf
parent3da9536e8f377d8ec63df930bfd27c700475b68e
ARM: PSCI: use only r0 and r3 in psci_get_cpu_stack_top()

For psci_get_cpu_stack_top() to be usable in C code, it must adhere to
the ARM calling conventions. Since it could be called when the stack
is still unavailable, and the entry code to linux also expects r1 and
r2 to remain unchanged, stick to r0 and r3.

Signed-off-by: Chen-Yu Tsai <[email protected]>
Acked-by: Marc Zyngier <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
arch/arm/cpu/armv7/psci.S
This page took 0.027964 seconds and 4 git commands to generate.