diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2007-09-09 15:10:57 +0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-10-13 12:18:27 +0400 |
commit | c9a1185c945c8db3185ad40092963cbb39192e31 (patch) | |
tree | f3125cea5f345710a0074a1f7c9c54e0d2cbe71e /drivers/kvm/svm.c | |
parent | 380102c8e431ba8b25a5b3a29e4529ca02ede4c8 (diff) | |
download | linux-c9a1185c945c8db3185ad40092963cbb39192e31.tar.xz |
KVM: Remove the unused invlpg member of struct kvm_arch_ops.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/svm.c')
-rw-r--r-- | drivers/kvm/svm.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c index 3de9ec35ebf9..dbd4e813cbe4 100644 --- a/drivers/kvm/svm.c +++ b/drivers/kvm/svm.c @@ -881,11 +881,6 @@ static void new_asid(struct vcpu_svm *svm, struct svm_cpu_data *svm_data) svm->vmcb->control.asid = svm_data->next_asid++; } -static void svm_invlpg(struct kvm_vcpu *vcpu, gva_t address) -{ - invlpga(address, to_svm(vcpu)->vmcb->control.asid); // is needed? -} - static unsigned long svm_get_dr(struct kvm_vcpu *vcpu, int dr) { return to_svm(vcpu)->db_regs[dr]; @@ -1795,7 +1790,6 @@ static struct kvm_arch_ops svm_arch_ops = { .get_rflags = svm_get_rflags, .set_rflags = svm_set_rflags, - .invlpg = svm_invlpg, .tlb_flush = svm_flush_tlb, .inject_page_fault = svm_inject_page_fault, |