Browse Source

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>
Patrick Delaunay 6 years ago
parent
commit
4c6fe075ce
1 changed files with 2 additions and 1 deletions
  1. 2 1
      arch/arm/mach-tegra/psci.S

+ 2 - 1
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