]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm64/kernel/sleep.S
arm64: move sp_el0 and tpidr_el1 into cpu_suspend_ctx
[karo-tx-linux.git] / arch / arm64 / kernel / sleep.S
index 1bec41b5fda3917b2ed7583663a239f25c6126bf..df67652e46f0de3fcfcfa18dbf5d69c7a97815a1 100644 (file)
@@ -125,9 +125,6 @@ ENTRY(_cpu_resume)
        /* load sp from context */
        ldr     x2, [x0, #CPU_CTX_SP]
        mov     sp, x2
-       /* save thread_info */
-       and     x2, x2, #~(THREAD_SIZE - 1)
-       msr     sp_el0, x2
        /*
         * cpu_do_resume expects x0 to contain context address pointer
         */