Commit f181b96d authored by Gleb Natapov's avatar Gleb Natapov Committed by Avi Kivity

KVM: remove export of emulator_write_emulated()

It is not called directly outside of the file it's defined in anymore.
Signed-off-by: default avatarGleb Natapov <gleb@redhat.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent c3cd7ffa
...@@ -628,11 +628,6 @@ void kvm_inject_nmi(struct kvm_vcpu *vcpu); ...@@ -628,11 +628,6 @@ void kvm_inject_nmi(struct kvm_vcpu *vcpu);
void fx_init(struct kvm_vcpu *vcpu); void fx_init(struct kvm_vcpu *vcpu);
int emulator_write_emulated(unsigned long addr,
const void *val,
unsigned int bytes,
struct kvm_vcpu *vcpu);
void kvm_mmu_flush_tlb(struct kvm_vcpu *vcpu); void kvm_mmu_flush_tlb(struct kvm_vcpu *vcpu);
void kvm_mmu_pte_write(struct kvm_vcpu *vcpu, gpa_t gpa, void kvm_mmu_pte_write(struct kvm_vcpu *vcpu, gpa_t gpa,
const u8 *new, int bytes, const u8 *new, int bytes,
......
...@@ -3465,7 +3465,6 @@ int emulator_write_emulated(unsigned long addr, ...@@ -3465,7 +3465,6 @@ int emulator_write_emulated(unsigned long addr,
} }
return emulator_write_emulated_onepage(addr, val, bytes, vcpu); return emulator_write_emulated_onepage(addr, val, bytes, vcpu);
} }
EXPORT_SYMBOL_GPL(emulator_write_emulated);
#define CMPXCHG_TYPE(t, ptr, old, new) \ #define CMPXCHG_TYPE(t, ptr, old, new) \
(cmpxchg((t *)(ptr), *(t *)(old), *(t *)(new)) == *(t *)(old)) (cmpxchg((t *)(ptr), *(t *)(old), *(t *)(new)) == *(t *)(old))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment