Commit da7e4232 authored by Uros Bizjak's avatar Uros Bizjak Committed by Paolo Bonzini

KVM: VMX: Remove unnecessary exception trampoline in vmx_vmenter

The exception trampoline in .fixup section is not needed, the exception
handling code can jump directly to the label in the .text section.

Changes since v1:
- Fix commit message.

Cc: Sean Christopherson <sean.j.christopherson@intel.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: default avatarSean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: default avatarUros Bizjak <ubizjak@gmail.com>
Message-Id: <20200406202108.74300-1-ubizjak@gmail.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 199cd1d7
...@@ -58,12 +58,8 @@ SYM_FUNC_START(vmx_vmenter) ...@@ -58,12 +58,8 @@ SYM_FUNC_START(vmx_vmenter)
ret ret
4: ud2 4: ud2
.pushsection .fixup, "ax" _ASM_EXTABLE(1b, 3b)
5: jmp 3b _ASM_EXTABLE(2b, 3b)
.popsection
_ASM_EXTABLE(1b, 5b)
_ASM_EXTABLE(2b, 5b)
SYM_FUNC_END(vmx_vmenter) SYM_FUNC_END(vmx_vmenter)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment