diff options
author | Uros Bizjak <[email protected]> | 2020-04-09 14:04:40 +0200 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2020-04-15 12:08:38 -0400 |
commit | b61f62d408959a37bb6b19f9521b682aec3a5601 (patch) | |
tree | 4b2888a373b018ecb8f77cd26e70c8a2e7f74dc9 | |
parent | b2bce0a589cafcf1a8755627b932c80621aef575 (diff) |
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]>
-rw-r--r-- | arch/x86/kvm/svm/vmenter.S | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kvm/svm/vmenter.S b/arch/x86/kvm/svm/vmenter.S index 723887e35e95..bf944334003a 100644 --- a/arch/x86/kvm/svm/vmenter.S +++ b/arch/x86/kvm/svm/vmenter.S @@ -36,7 +36,6 @@ */ SYM_FUNC_START(__svm_vcpu_run) push %_ASM_BP - mov %_ASM_SP, %_ASM_BP #ifdef CONFIG_X86_64 push %r15 push %r14 |