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>
This commit is contained in:

committed by
Hans de Goede

parent
6e6622de16
commit
b7073965a3
@@ -60,7 +60,6 @@ void psci_save_target_pc(int cpu, u32 pc);
|
||||
|
||||
void psci_cpu_entry(void);
|
||||
u32 psci_get_cpu_id(void);
|
||||
u32 psci_get_cpu_stack_top(int cpu);
|
||||
void psci_cpu_off_common(void);
|
||||
|
||||
int psci_update_dt(void *fdt);
|
||||
|
Reference in New Issue
Block a user