commit | dae08d228122e4ad296077106520a4db3ca17872 | [log] [tgz] |
---|---|---|
author | Chen-Yu Tsai <wens@csie.org> | Tue Jun 07 10:54:24 2016 +0800 |
committer | Hans de Goede <hdegoede@redhat.com> | Mon Jun 20 22:43:59 2016 +0200 |
tree | d4b3f5cb90450524a65c3d74afb6fdaae85bf2cf | |
parent | 3da9536e8f377d8ec63df930bfd27c700475b68e [diff] |
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 <wens@csie.org> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>