aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/kvm_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/kvm/kvm_main.c')
-rw-r--r--drivers/kvm/kvm_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c
index 6623fecff040..6e15aef6c34f 100644
--- a/drivers/kvm/kvm_main.c
+++ b/drivers/kvm/kvm_main.c
@@ -271,8 +271,8 @@ static void kvm_free_physmem(struct kvm *kvm)
271 271
272static void kvm_free_vcpu(struct kvm_vcpu *vcpu) 272static void kvm_free_vcpu(struct kvm_vcpu *vcpu)
273{ 273{
274 kvm_arch_ops->vcpu_free(vcpu);
275 kvm_mmu_destroy(vcpu); 274 kvm_mmu_destroy(vcpu);
275 kvm_arch_ops->vcpu_free(vcpu);
276} 276}
277 277
278static void kvm_free_vcpus(struct kvm *kvm) 278static void kvm_free_vcpus(struct kvm *kvm)