• Uros Bizjak's avatar
    KVM: VMX: Improve handle_external_interrupt_irqoff inline assembly · 551896e0
    Uros Bizjak authored
    Improve handle_external_interrupt_irqoff inline assembly in several ways:
    - remove unneeded %c operand modifiers and "$" prefixes
    - use %rsp instead of _ASM_SP, since we are in CONFIG_X86_64 part
    - use $-16 immediate to align %rsp
    - remove unneeded use of __ASM_SIZE macro
    - define "ss" named operand only for X86_64
    
    The patch introduces no functional changes.
    
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Cc: Sean Christopherson <sean.j.christopherson@intel.com>
    Signed-off-by: default avatarUros Bizjak <ubizjak@gmail.com>
    Message-Id: <20200504155706.2516956-1-ubizjak@gmail.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    551896e0
vmx.c 225 KB