diff options
Diffstat (limited to 'include/asm-x86/kvm_host.h')
-rw-r--r-- | include/asm-x86/kvm_host.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h index f995783b1fdb..fdde0bedaa90 100644 --- a/include/asm-x86/kvm_host.h +++ b/include/asm-x86/kvm_host.h | |||
@@ -703,9 +703,11 @@ enum { | |||
703 | vcpu, 0, 0, 0, 0, 0, 0) | 703 | vcpu, 0, 0, 0, 0, 0, 0) |
704 | 704 | ||
705 | #ifdef CONFIG_64BIT | 705 | #ifdef CONFIG_64BIT |
706 | #define KVM_EX_ENTRY ".quad" | 706 | # define KVM_EX_ENTRY ".quad" |
707 | # define KVM_EX_PUSH "pushq" | ||
707 | #else | 708 | #else |
708 | #define KVM_EX_ENTRY ".long" | 709 | # define KVM_EX_ENTRY ".long" |
710 | # define KVM_EX_PUSH "pushl" | ||
709 | #endif | 711 | #endif |
710 | 712 | ||
711 | /* | 713 | /* |
@@ -719,7 +721,7 @@ asmlinkage void kvm_handle_fault_on_reboot(void); | |||
719 | "666: " insn "\n\t" \ | 721 | "666: " insn "\n\t" \ |
720 | ".pushsection .text.fixup, \"ax\" \n" \ | 722 | ".pushsection .text.fixup, \"ax\" \n" \ |
721 | "667: \n\t" \ | 723 | "667: \n\t" \ |
722 | "push $666b \n\t" \ | 724 | KVM_EX_PUSH " $666b \n\t" \ |
723 | "jmp kvm_handle_fault_on_reboot \n\t" \ | 725 | "jmp kvm_handle_fault_on_reboot \n\t" \ |
724 | ".popsection \n\t" \ | 726 | ".popsection \n\t" \ |
725 | ".pushsection __ex_table, \"a\" \n\t" \ | 727 | ".pushsection __ex_table, \"a\" \n\t" \ |