xtensa: fix threadptr reload on return to userspace
[firefly-linux-kernel-4.4.55.git] / arch / xtensa / kernel / entry.S
index 82bbfa5a05b34389c0947b2846bc68d49282c2a7..51e9877ced06ac0a97a369f94719437409679dd1 100644 (file)
@@ -568,12 +568,13 @@ user_exception_exit:
         *       (if we have restored WSBITS-1 frames).
         */
 
+2:
 #if XCHAL_HAVE_THREADPTR
        l32i    a3, a1, PT_THREADPTR
        wur     a3, threadptr
 #endif
 
-2:     j       common_exception_exit
+       j       common_exception_exit
 
        /* This is the kernel exception exit.
         * We avoided to do a MOVSP when we entered the exception, but we