X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=virt%2Fkvm%2Fkvm_main.c;h=b22f380e3347dc280a10922daac7da7c4947e867;hb=5593473a1e6c743764b08e3b6071cb43b5cfa6c4;hp=70e05af5ebead64cc03218fa60f2f83d7d907941;hpb=d897b680418db98f01a0bff038f1b03770a33722;p=linux-2.6-microblaze.git diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 70e05af5ebea..b22f380e3347 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -434,8 +434,8 @@ static void kvm_vcpu_init(struct kvm_vcpu *vcpu, struct kvm *kvm, unsigned id) static void kvm_vcpu_destroy(struct kvm_vcpu *vcpu) { - kvm_dirty_ring_free(&vcpu->dirty_ring); kvm_arch_vcpu_destroy(vcpu); + kvm_dirty_ring_free(&vcpu->dirty_ring); /* * No need for rcu_read_lock as VCPU_RUN is the only place that changes