Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115267
b: refs/heads/master
c: 8ceed34
h: refs/heads/master
i:
  115265: b418e18
  115263: 34a9d92
v: v3
  • Loading branch information
Avi Kivity committed Oct 15, 2008
1 parent bcfe00b commit 9dbce01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ecfc79c700b02c5ad1ccae58718015caa84824be
refs/heads/master: 8ceed34744f81c4a33d68ab825fd9ad3dd5f5505
13 changes: 2 additions & 11 deletions trunk/include/asm-x86/kvm_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -734,15 +734,6 @@ enum {
TASK_SWITCH_GATE = 3,
};


#ifdef CONFIG_64BIT
# define KVM_EX_ENTRY ".quad"
# define KVM_EX_PUSH "pushq"
#else
# define KVM_EX_ENTRY ".long"
# define KVM_EX_PUSH "pushl"
#endif

/*
* Hardware virtualization extension instructions may fault if a
* reboot turns off virtualization while processes are running.
Expand All @@ -754,11 +745,11 @@ asmlinkage void kvm_handle_fault_on_reboot(void);
"666: " insn "\n\t" \
".pushsection .fixup, \"ax\" \n" \
"667: \n\t" \
KVM_EX_PUSH " $666b \n\t" \
__ASM_SIZE(push) " $666b \n\t" \
"jmp kvm_handle_fault_on_reboot \n\t" \
".popsection \n\t" \
".pushsection __ex_table, \"a\" \n\t" \
KVM_EX_ENTRY " 666b, 667b \n\t" \
_ASM_PTR " 666b, 667b \n\t" \
".popsection"

#define KVM_ARCH_WANT_MMU_NOTIFIER
Expand Down

0 comments on commit 9dbce01

Please sign in to comment.