Skip to content

Commit b61f62d

Browse files
ubizjakbonzini
authored andcommitted
KVM: SVM: Do not setup frame pointer in __svm_vcpu_run
__svm_vcpu_run is a leaf function and does not need a frame pointer. %rbp is also destroyed a few instructions later when guest registers are loaded. Cc: Paolo Bonzini <[email protected]> Signed-off-by: Uros Bizjak <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent b2bce0a commit b61f62d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/x86/kvm/svm/vmenter.S

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
*/
3737
SYM_FUNC_START(__svm_vcpu_run)
3838
push %_ASM_BP
39-
mov %_ASM_SP, %_ASM_BP
4039
#ifdef CONFIG_X86_64
4140
push %r15
4241
push %r14

0 commit comments

Comments
 (0)