]> err.no Git - linux-2.6/blobdiff - include/asm-x86/kvm_host.h
dma-mapping: add the device argument to dma_mapping_error()
[linux-2.6] / include / asm-x86 / kvm_host.h
index f995783b1fdbfbada4312f2446245ca63e8809b6..fdde0bedaa90dd310e60862a52ef8a73f09a2f47 100644 (file)
@@ -703,9 +703,11 @@ enum {
                                                vcpu, 0, 0, 0, 0, 0, 0)
 
 #ifdef CONFIG_64BIT
-#define KVM_EX_ENTRY ".quad"
+# define KVM_EX_ENTRY ".quad"
+# define KVM_EX_PUSH "pushq"
 #else
-#define KVM_EX_ENTRY ".long"
+# define KVM_EX_ENTRY ".long"
+# define KVM_EX_PUSH "pushl"
 #endif
 
 /*
@@ -719,7 +721,7 @@ asmlinkage void kvm_handle_fault_on_reboot(void);
        "666: " insn "\n\t" \
        ".pushsection .text.fixup, \"ax\" \n" \
        "667: \n\t" \
-       "push $666b \n\t" \
+       KVM_EX_PUSH " $666b \n\t" \
        "jmp kvm_handle_fault_on_reboot \n\t" \
        ".popsection \n\t" \
        ".pushsection __ex_table, \"a\" \n\t" \