summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/psci.S
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-06-19 04:38:45 (GMT)
committerHans de Goede <hdegoede@redhat.com>2016-07-15 13:54:58 (GMT)
commitb7073965a343fca2bcde4195fbba664c98f309d8 (patch)
tree2b04ced069f11df9d857b21165a38d1343c5d757 /arch/arm/cpu/armv7/psci.S
parent6e6622de166f53597172687b7269b07cf48844df (diff)
downloadu-boot-b7073965a343fca2bcde4195fbba664c98f309d8.tar.xz
ARM: PSCI: Make psci_get_cpu_stack_top local to armv7/psci.S
Now that we have a secure data section for storing variables, there should be no need for platform code to get the stack address. Make psci_get_cpu_stack_top a local function, as it should only be used in armv7/psci.S and only by psci_stack_setup. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch/arm/cpu/armv7/psci.S')
-rw-r--r--arch/arm/cpu/armv7/psci.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/psci.S b/arch/arm/cpu/armv7/psci.S
index 50dfddb..350b75c 100644
--- a/arch/arm/cpu/armv7/psci.S
+++ b/arch/arm/cpu/armv7/psci.S
@@ -213,7 +213,7 @@ ENDPROC(psci_cpu_off_common)
@ -------------------- __secure_stack_start
@
@ This expects CPU ID in r0 and returns stack top in r0
-ENTRY(psci_get_cpu_stack_top)
+LENTRY(psci_get_cpu_stack_top)
@ stack top = __secure_stack_end - (cpuid << ARM_PSCI_STACK_SHIFT)
ldr r3, =__secure_stack_end
sub r0, r3, r0, LSL #ARM_PSCI_STACK_SHIFT