summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2018-04-16 10:15:12 +0200
committerTom Rini <trini@konsulko.com>2018-05-07 11:52:55 -0400
commit9ce751a6f5d6683b0fabd3cfc62da7e9f30bc57f (patch)
tree286b339e7e2b5285567a3987944412e16d50bfa7 /arch/arm/include/asm
parent9622c7e65d9b9fe4703d3bf35c472518aedba404 (diff)
psci: arm: remove armv7 function psci_save_target_pc
This function is no more used, and replaced by psci_save which save also context id as requested by PSCI requirements. Even if the context id is not used by Linux, it should be saved and restored in r0 when the CPU_ON is performed. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/psci.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/include/asm/psci.h b/arch/arm/include/asm/psci.h
index b41524106b..95f18e8cbc 100644
--- a/arch/arm/include/asm/psci.h
+++ b/arch/arm/include/asm/psci.h
@@ -93,10 +93,9 @@
#ifndef __ASSEMBLY__
#include <asm/types.h>
-/* These 4 helper functions assume cpu < CONFIG_ARMV7_PSCI_NR_CPUS */
+/* These 3 helper functions assume cpu < CONFIG_ARMV7_PSCI_NR_CPUS */
u32 psci_get_target_pc(int cpu);
u32 psci_get_context_id(int cpu);
-void psci_save_target_pc(int cpu, u32 pc);
void psci_save(int cpu, u32 pc, u32 context_id);
void psci_cpu_entry(void);