diff options
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 5 | ||||
-rw-r--r-- | arch/x86/kvm/x86.c | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 97774ae3c874..2ca1867ed97a 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h | |||
@@ -628,11 +628,6 @@ void kvm_inject_nmi(struct kvm_vcpu *vcpu); | |||
628 | 628 | ||
629 | void fx_init(struct kvm_vcpu *vcpu); | 629 | void fx_init(struct kvm_vcpu *vcpu); |
630 | 630 | ||
631 | int emulator_write_emulated(unsigned long addr, | ||
632 | const void *val, | ||
633 | unsigned int bytes, | ||
634 | struct kvm_vcpu *vcpu); | ||
635 | |||
636 | void kvm_mmu_flush_tlb(struct kvm_vcpu *vcpu); | 631 | void kvm_mmu_flush_tlb(struct kvm_vcpu *vcpu); |
637 | void kvm_mmu_pte_write(struct kvm_vcpu *vcpu, gpa_t gpa, | 632 | void kvm_mmu_pte_write(struct kvm_vcpu *vcpu, gpa_t gpa, |
638 | const u8 *new, int bytes, | 633 | const u8 *new, int bytes, |
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 4cb65d82abca..15a4b754a451 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -3465,7 +3465,6 @@ int emulator_write_emulated(unsigned long addr, | |||
3465 | } | 3465 | } |
3466 | return emulator_write_emulated_onepage(addr, val, bytes, vcpu); | 3466 | return emulator_write_emulated_onepage(addr, val, bytes, vcpu); |
3467 | } | 3467 | } |
3468 | EXPORT_SYMBOL_GPL(emulator_write_emulated); | ||
3469 | 3468 | ||
3470 | #define CMPXCHG_TYPE(t, ptr, old, new) \ | 3469 | #define CMPXCHG_TYPE(t, ptr, old, new) \ |
3471 | (cmpxchg((t *)(ptr), *(t *)(old), *(t *)(new)) == *(t *)(old)) | 3470 | (cmpxchg((t *)(ptr), *(t *)(old), *(t *)(new)) == *(t *)(old)) |