Merge tag 'v4.15' into x86/pti, to be able to merge dependent changes
[linux-2.6-block.git] / arch / x86 / entry / entry_64.S
index ff6f8022612c565e7ed17ab6200ecf195f4d7bed..a835704951629f2d741cc222ea479a362244ce06 100644 (file)
@@ -499,7 +499,8 @@ ENTRY(__switch_to_asm)
         * exist, overwrite the RSB with entries which capture
         * speculative execution to prevent attack.
         */
-       FILL_RETURN_BUFFER %r12, RSB_CLEAR_LOOPS, X86_FEATURE_RSB_CTXSW
+       /* Clobbers %rbx */
+       FILL_RETURN_BUFFER RSB_CLEAR_LOOPS, X86_FEATURE_RSB_CTXSW
 #endif
 
        /* restore callee-saved registers */