ARM: PSCI: Make psci_get_cpu_stack_top local to armv7/psci.S
authorChen-Yu Tsai <wens@csie.org>
Sun, 19 Jun 2016 04:38:45 +0000 (12:38 +0800)
committerHans de Goede <hdegoede@redhat.com>
Fri, 15 Jul 2016 13:54:58 +0000 (15:54 +0200)
commitb7073965a343fca2bcde4195fbba664c98f309d8
tree2b04ced069f11df9d857b21165a38d1343c5d757
parent6e6622de166f53597172687b7269b07cf48844df
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>
arch/arm/cpu/armv7/psci.S
arch/arm/include/asm/psci.h