tegra: psci: save context id in cpu_on command
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 16 Apr 2018 08:15:09 +0000 (10:15 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 7 May 2018 15:52:55 +0000 (11:52 -0400)
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>
arch/arm/mach-tegra/psci.S

index fe17219c24f49669c03a23b71464f412ccd7a52d..f9eb37fc79b219a78107f34c503a1da682faaead 100644 (file)
@@ -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