aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPatrick Delaunay2018-04-16 10:15:09 +0200
committerTom Rini2018-05-07 11:52:55 -0400
commit4c6fe075ceb70eda19afaf3bfca9fea1b35c66a3 (patch)
tree82ba96f9d3249cafe393639b8fdabfcae7d58f68 /arch
parent47ec6b4ea3b93225a7cb88ae1445fbc7c6a0a239 (diff)
tegra: psci: save context id in cpu_on command
Replace the psci_save_target_pc call by the new function psci_save(cpu, pc,context_id) Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/psci.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/psci.S b/arch/arm/mach-tegra/psci.S
index fe17219c24f..f9eb37fc79b 100644
--- a/arch/arm/mach-tegra/psci.S
+++ b/arch/arm/mach-tegra/psci.S
@@ -89,7 +89,8 @@ ENTRY(psci_cpu_on)
mov r4, r1
mov r0, r1
mov r1, r2
- bl psci_save_target_pc @ store target PC
+ mov r2, r3
+ bl psci_save @ store target PC and context id
mov r1, r4
ldr r6, =TEGRA_RESET_EXCEPTION_VECTOR